Skip to content

Instantly share code, notes, and snippets.

@aravindpai
Last active December 6, 2022 10:49
Show Gist options
  • Save aravindpai/c5dea16a81a40c52c9c9028f2b877c1e to your computer and use it in GitHub Desktop.
Save aravindpai/c5dea16a81a40c52c9c9028f2b877c1e to your computer and use it in GitHub Desktop.
from sklearn.ensemble import RandomForestClassifier
rfc = RandomForestClassifier(max_depth=3)
rfc.fit(x_tr,y_tr)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment