Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ParthNipunDave/f462664ffe83b1eaa75430a7c7d25c5f to your computer and use it in GitHub Desktop.
Save ParthNipunDave/f462664ffe83b1eaa75430a7c7d25c5f to your computer and use it in GitHub Desktop.
rfc=RandomForestClassifier(n_estimators=100000,max_depth=3,n_jobs=-1)
rfc.fit(train_x,train_y)
predict=rfc.predict(test_x)
print('Recall Score --> ',recall_score(test_y,predict))
print("Classification Report\n",classification_report(test_y,predict))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment