02Chapter 2: How a tree picks its splitsThis chapter assumes you know what a decision tree is (a sequence of yes/no questions on features) and can read basic NumPy. Here you will see how a tree chooses each question.3 min read
03Chapter 3: Why single trees overfit: bias and varianceThis chapter assumes you know supervised learning basics (features, labels, train/test splits), can read short Python and NumPy code, and are familiar with accuracy and mean squared error. It builds on the previous chapters on decision trees and split criteria.3 min read
04Chapter 4: Bootstrap samplingThis chapter assumes you know what a training set is, can read basic NumPy, and understand sampling probabilities. Bootstrap sampling is the first step toward making the trees in a forest differ from one another.2 min read
05Chapter 5: Bagging: training on resampled dataThis chapter assumes you know how a decision tree is trained, why a fully grown tree has high variance, and what a bootstrap sample is. You should also be comfortable with NumPy and scikit-learn's fit and predict.3 min read
06Chapter 6: Combining tree predictions by voting and averagingThis chapter assumes you know how a single decision tree predicts, what a bootstrap sample is, and how bagging trains each tree on a resampled copy of the data. Here we cover the last step of a forest: turning many tree outputs into one prediction.3 min read
07Chapter 7: Random feature subsets decorrelate the treesThis chapter assumes you know how a decision tree picks splits with an impurity criterion, and that you understand bootstrap sampling and bagging. It explains why bagging alone leaves the trees too similar, and how random feature subsets fix that.3 min read
08Chapter 8: The complete random forest algorithmThis chapter assumes you know how a single decision tree is grown, why unpruned trees overfit, and how bootstrap sampling and bagging work. It joins those pieces into the full algorithm and builds a small forest by hand.2 min read
09Chapter 9: Out-of-bag error as a built-in validation estimateThis chapter assumes you know how bootstrap sampling works, how a random forest is built, and how to use accuracy and cross-validation. You should also be comfortable with scikit-learn's fit and score methods.3 min read
10Chapter 10: Tuning the main hyperparametersThis chapter assumes you can train a scikit-learn classifier and read cross-validation scores. It also assumes you know how a forest is built from bootstrap samples and random feature subsets. Here you learn which settings matter, what each one does, and how to tune them without wasting time.3 min read
11Chapter 11: A worked example with scikit-learnThis chapter trains a random forest on a real dataset, checks it with an out-of-bag (OOB) score and a test set, and compares it with a single tree. It assumes you know supervised learning basics, Python and NumPy, and accuracy as a metric. It also assumes you have met bootstrap sampling, feature sub2 min read
12Chapter 12: Interpreting feature importanceThis chapter assumes you can train a random forest in scikit-learn and know the difference between training and held-out data. It covers the two standard ways to rank features, and the mistakes that make those rankings misleading.3 min read
13Chapter 13: Limitations and when to choose something elseThis chapter assumes you can train and evaluate a forest in scikit-learn and know the roles of bagging, feature subsampling, and out-of-bag (OOB) scores. Random forests are a strong default for tabular data, but they have limits you should know before you rely on them.2 min read
14Chapter 14: Related methods: extremely randomized trees and boostingThis chapter assumes you can train a random forest in scikit-learn, know what bagging and feature subsampling do, and understand the bias-variance trade-off from earlier chapters. Two methods are close relatives of the random forest. Extremely randomized trees add more randomness to reduce variance.2 min read