Skip to content

Instantly share code, notes, and snippets.

@ogyalcin
Created July 14, 2018 06:56
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 ogyalcin/661e15993ffed52282c1a7dcfd999607 to your computer and use it in GitHub Desktop.
Save ogyalcin/661e15993ffed52282c1a7dcfd999607 to your computer and use it in GitHub Desktop.
Create and Train a ML Model
from sklearn import tree
dtc = tree.DecisionTreeClassifier()
dtc.fit(X, y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment