Skip to content

Instantly share code, notes, and snippets.

@khyatimahendru
Last active June 18, 2019 12:26
Show Gist options
  • Select an option

  • Save khyatimahendru/5da8ade779f41fddc429fde1bd4b28e9 to your computer and use it in GitHub Desktop.

Select an option

Save khyatimahendru/5da8ade779f41fddc429fde1bd4b28e9 to your computer and use it in GitHub Desktop.
from sklearn.tree import DecisionTreeClassifier
clf_entropy = DecisionTreeClassifier(criterion = 'entropy', random_state = 33)
clf_entropy.fit(X, Y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment