Visual explainer
Ensemble Methods
One tree gets 7 of 10 right while five diverse trees vote 3 to 2, canceling lone mistakes to reach 0.88 where one stalls at 0.70.
One tree faces ten new points and misses three, an error of 0.30 it cannot appeal. Every lone model carries some street it simply misreads, and you cannot know which in advance.
Different Rows Each
You copy the streets with replacement into three bags of equal size, so each bag repeats some rows and skips others. Three bags, three slightly different worlds, and therefore three different mistakes.
Majority Overrules
Five trees vote 1, 1, 0, 1 and 0, so class 1 wins three to two. Lone error 0.30 falls to 0.12 because the mistakes rarely agree with each other.
Same Time or Turns
Bagging trains all trees at once on different bags and averages them. Boosting trains in turns, with each newcomer fixing the last one's leftover errors. Pick parallel speed or sequential repair.
Consensus Beats Solo
The lone tree scores 0.70 on the same fifty streets. The voting five reach 0.88, because correct votes drown the occasional wrong one on every street.
Variance or Bias
Your train error is low but test wobbles? Bag the variance away. Train itself stalls high? Boost the bias down. Measure train error first, then choose with evidence.
Where It Breaks
Five copies of one tree err on the same streets together, so the vote is wrong five to zero. No diversity means no cancellation, just five times the bill for one opinion.
The Quick Version
- One tree misses 3 of 10.
- Bags repeat and skip rows.
- Votes 1, 1, 0, 1, 0 elect 1.
- Bag parallel; boost in turns.
- Consensus reaches 0.88 over 0.70.
- Wobble: bag; stall: boost.
- Copies fail together, 5 to 0.