Module resources
Trees, ensembles and classical models
Checked sources to go further than the lessons. Back to the module.
Recommended learning sequence
Work through these in order.
Decision Trees (scikit-learn user guide) (opens in a new tab)
Start with the official guide to decision trees. It states the Gini and entropy criteria, the pruning and leaf-size controls, and the limits (greedy search, no extrapolation) that lesson 1 builds on.
XGBoost: A Scalable Tree Boosting System (opens in a new tab)
Then the paper behind XGBoost. Read the abstract and introduction after the boosting section of lesson 1 to see why scalable tree boosting became a default for tabular data.
Nearest Neighbors (scikit-learn user guide) (opens in a new tab)
For lesson 2, the reference for k-NN: it is instance-based, how the tree-based indexes behave as dimension grows, and what k does.
CS229 lecture notes: the k-means clustering algorithm (opens in a new tab)
Next, the Stanford notes on k-means, including why the loop converges and why you should run it several times.
Naive Bayes (scikit-learn user guide) (opens in a new tab)
Close with naive Bayes: the independence assumption, smoothing, and the warning not to take its probability outputs too seriously.
All resources
Official documentation
HistGradientBoostingClassifier (scikit-learn API reference) (opens in a new tab)
The API reference for scikit-learn's histogram gradient boosting: binning, native missing-value and categorical support, and early stopping. Useful when you move from the lesson's from-scratch loop to a library.
Parameters Tuning (LightGBM documentation) (opens in a new tab)
The official tuning advice for leaf-wise boosting on small data: which parameters control complexity and what to do about overfitting.
Gaussian mixture models (scikit-learn user guide) (opens in a new tab)
Gaussian mixtures and expectation-maximisation as a soft, covariance-aware generalisation of k-means, with advice on initialisation and choosing the number of components.
Manifold learning (scikit-learn user guide) (opens in a new tab)
Read before you trust a t-SNE plot: what the method preserves, what it does not, and the advice to reduce very high-dimensional data first.
Transforming New Data with UMAP (UMAP documentation) (opens in a new tab)
Shows how UMAP embeds new data after fitting, the capability t-SNE lacks. Read it if you need a reusable embedding.
Research papers
When Is Nearest Neighbor Meaningful? (opens in a new tab)
The paper behind the claim that nearest and farthest neighbours become almost equally far in high dimensions. It also names the cases where the effect does not occur, so read the introduction for the caveats.