text_plain_output_1.png
from sklearn.ensemble import RandomForestClassifier

classifier = RandomForestClassifier()
classifier.fit(X_train, y_train)

print('Training Accuracy: ', classifier.score(X_train, y_train))
print('Testing Accuracy: ', classifier.score(X_test, y_test))