Estimator API (fit, predict, predict_proba, score)
Also: fit, predict, scikit-learn API
Machine learning basics
The four methods every scikit-learn model shares: learn from examples, label new rows, give a score per label, and report accuracy.
ExampleSwapping LogisticRegression for DecisionTreeClassifier changes one line; the rest of the code stays the same.
