Skip to content

Instantly share code, notes, and snippets.

@shubham-singh-ss
Created May 31, 2019 05:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shubham-singh-ss/838f274017a842ae8ef971f547f92833 to your computer and use it in GitHub Desktop.
Save shubham-singh-ss/838f274017a842ae8ef971f547f92833 to your computer and use it in GitHub Desktop.
from sklearn.ensemble import RandomForestClassifier
classifier = RandomForestClassifier(n_estimators = 1000, criterion = 'entropy')
classifier.fit(X_train, y_train)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment