Kaggle, Machine Leanring, Machine Learning Projects, Python, Colab.
the next model. Decision Tree Classifier from sklearn.tree import DecisionTreeClassifier dtc = DecisionTreeClassifier() dtc.fit(X_train, y_train) dtc_prediction = dtc.predict(X_test) dtc_accuracy = accuracy_score(y_test, dtc_prediction) dtc_accuracy #0.6904761904761905 Nope! Let’s try Random Forest