Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Building Decision Tree
from sklearn.tree import DecisionTreeClassifier
dt = DecisionTreeClassifier(criterion = 'entropy', random_state = 42), Y_train)
dt_pred_train = dt.predict(X_train)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.