2.1 Parallel ensembles2.2 Bagging: Bootstrap aggregating2.2.1 Intuition: Resampling and model aggregation2.2.2 Implementing bagging2.2.3 Bagging with scikit-learn2.2.4 Faster training with parallelization2.3 Random forests2.3.1 Randomized decision trees2.3.2 Random forests with scikit-learn2.3.3 Feature importances2.4 More homogeneous parallel ensembles2.4.1 Pasting2.4.2 Random subspaces and random patches2.4.3 Extra Trees2.5 Case study: Breast cancer diagnosis2.5.1 Loading and preprocessing2.5.2 Bagging, random forests, and Extra Trees2.5.3 Feature importances with random forestsSummary