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.

  1. Decision Trees (scikit-learn user guide) (opens in a new tab)

    scikit-learn2026Documentation

    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.

  2. XGBoost: A Scalable Tree Boosting System (opens in a new tab)

    Tianqi Chen, Carlos Guestrin2016PaperarXiv:1603.02754 (KDD 2016)

    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.

  3. Nearest Neighbors (scikit-learn user guide) (opens in a new tab)

    scikit-learn2026Documentation

    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.

  4. CS229 lecture notes: the k-means clustering algorithm (opens in a new tab)

    Andrew Ng2020Book

    Next, the Stanford notes on k-means, including why the loop converges and why you should run it several times.

  5. Naive Bayes (scikit-learn user guide) (opens in a new tab)

    scikit-learn2026Documentation

    Close with naive Bayes: the independence assumption, smoothing, and the warning not to take its probability outputs too seriously.

All resources

Official documentation

Research papers

  • When Is Nearest Neighbor Meaningful? (opens in a new tab)

    Kevin Beyer, Jonathan Goldstein, Raghu Ramakrishnan, Uri Shaft1999PaperICDT 1999

    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.