text_html_output_1.png
from sklearn.tree import DecisionTreeClassifier

humidity_classifier = DecisionTreeClassifier(max_leaf_nodes=10, random_state=0)
humidity_classifier.fit(X_train, y_train)

type(humidity_classifier)