Created
October 13, 2020 19:49
-
-
Save rikturr/b9694fe7a9f0dca8c494ca9e9bae5909 to your computer and use it in GitHub Desktop.
rapids-random-forest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from cuml.ensemble import RandomForestClassifier | |
# see notebook for prep_df function | |
taxi_train = prep_df(taxi) | |
rfc = RandomForestClassifier(n_estimators=100, max_depth=10, seed=42) | |
rfc.fit(taxi_train[features], taxi_train[y_col]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment