Kaggle, Machine Leanring, Machine Learning Projects, Python, Colab.
Classifier. from sklearn.ensemble import RandomForestClassifier rfc = RandomForestClassifier() rfc.fit(X_train, y_train) rfc_prediction = rfc.predict(X_test) rfc_accuracy = accuracy_score(y_test, rfc_prediction) rfc_accuracy #0.8571428571428571 85% is fine but not better than Logistic Regression.