scikit-learn
Classical machine learning: everything except deep learning. Filed by workflow stage rather than alphabetically, because the useful question is not "what exists" but "what do I reach for now".
Start here
How to read an import
Dots are folders. Case tells you what the thing is.
OrientationThe three interfaces
Learn these and the whole library becomes predictable.
OrientationThe imports that cover most work
Learn these and you can build almost anything.
OrientationNotes for bank work
Where the defaults are wrong for regulated data.
OrientationGotchas
The mistakes that do not raise an error.
1 Get data Something to practise on
2 Split & tune An honest test set
3 Prepare Into numbers a model accepts
4 Compose One object, no leakage
5 Model The algorithm itself
linear_model
Linear and logistic regression, and their many variants.
sklearn.ensembleensemble
Many models combined. Where tabular accuracy lives.
sklearn.treetree
A single decision tree. Readable, and prone to overfitting.
sklearn.svmsvm
Maximum-margin classifiers. Excellent on text.
sklearn.naive_bayesnaive_bayes
Probabilistic, absurdly fast, surprisingly hard to beat on text.
sklearn.neighborsneighbors
Predict from whatever is nearby.
sklearn.dummydummy
The trivial baseline. Use it in every experiment.