application_vnd.jupyter.stderr_output_2.png text_plain_output_1.png
from sklearn.tree import DecisionTreeClassifier

model_tree = DecisionTreeClassifier()
model_tree.fit(X_train, y_train)
print('Training accuracy: ', model_tree.score(X_train, y_train))
print('Testing accuracy: ', model_tree.score(X_test, y_test))