text_html_output_1.png application_vnd.jupyter.stderr_output_1.png
from sklearn.tree import DecisionTreeClassifier
clf = tree.DecisionTreeClassifier(random_state=8, max_depth=3)
clf.fit(X_train, y_train)
clf.score(X_test, y_test)