text_html_output_1.png
from sklearn import tree

from sklearn.metrics import classification_report

clf = tree.DecisionTreeClassifier(max_depth=400, random_state=42)
clf.fit(X_train, y_train)

y_pred = clf.predict(X_test)
print(classification_report(y_test, y_pred))
print(clf.score(X_test, y_test))