Skip to content

Instantly share code, notes, and snippets.

@KhyatiMahendru
Last active June 18, 2019 12:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KhyatiMahendru/f91bfa36b4b8f06a0c489d990fc47243 to your computer and use it in GitHub Desktop.
Save KhyatiMahendru/f91bfa36b4b8f06a0c489d990fc47243 to your computer and use it in GitHub Desktop.
from sklearn.tree import DecisionTreeClassifier
clf_gini = DecisionTreeClassifier(criterion = 'gini', random_state = 33)
clf_gini.fit(X, Y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment