aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← Machine Learning learning path
10
Supervised learning

Decision Trees & Ensemble Learning

Rule-based trees, and combining many of them into forests and boosted ensembles.

6 lessons~53 min4 formulas6 questions
0%
Not started yet
Quiz mastery0%
Start
What you’ll take away
  • Trees split greedily on the feature that most reduces impurity (entropy or Gini).
  • Single deep trees overfit; ensembles fix that.
  • Bagging and random forests average decorrelated trees to cut variance.
  • Boosting adds trees sequentially to cut bias — the workhorse for tabular data.
Major concepts (syllabus)

Decision trees, entropy, information gain, random forests, bagging, boosting

Lessons

  1. Decision treesA sequence of yes/no questions leading to a prediction.9 min
  2. EntropyMeasuring how mixed the classes in a node are.8 min
  3. Information gainChoosing the split that reduces entropy the most.9 min
  4. BaggingTraining on bootstrap samples and averaging to reduce variance.8 min
  5. Random forestsBagged trees with random feature subsets.9 min
  6. BoostingAdding models one at a time to fix earlier mistakes.10 min

Key formulas

Entropy

0 for a pure node, 1 bit for a 50/50 split.

Information gain

Entropy reduction from splitting on A.

Gini impurity

Alternative impurity used by CART.

Boosting

Each stage adds a small model with learning rate ν.

Key terms

Bagging
Training models on bootstrap samples and averaging them to reduce variance.
Boosting
Building an ensemble sequentially, each model correcting the errors of the previous ones.
Bootstrap sample
A sample of n examples drawn with replacement from a dataset of size n.
Decision tree
Model that predicts through a sequence of feature-threshold questions ending in leaves.
Entropy
Measure of class mixing in a node: −Σ p log₂ p. Zero when pure.
Gini impurity
1 − Σ p²: alternative to entropy for measuring node impurity.
Information gain
Reduction in entropy achieved by a split.
Random forest
Bagged decision trees that each consider random feature subsets at splits.
Full glossary →
Practice this topic6 questions · earn XP and build your streak
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser