Random Forest

Context: FIT1043_MOC Β· an ensemble of decision trees Β· a single tree overfits β€” a forest averages that away

Quick Revision

  • 🎯 Objective: combine many decision trees into one predictor βž” aggregate their outputs for a stabler prediction.
  • ⚑ Key Constraint: the β€œrandom” is the point β€” each tree sees a different random slice of data/features, so their errors are uncorrelated and cancel on aggregation.

πŸ“ Core

  • Definition βž” an ensemble-learning method that constructs a number of decision trees and combines them.
  • Diversity βž” each tree is grown on a random subset of the data (and features), so trees differ.
  • Aggregate βž” classification β†’ majority vote across trees; regression β†’ average of tree outputs.
  • Payoff βž” averaging many trees reduces the variance/overfitting of a single deep tree (an ensemble effect).

⚠️ Common Mistakes

  • πŸ’‘ One tree β‰  a forest βž” a lone decision tree can overfit; the forest’s strength is combining many diverse trees.
  • πŸ’‘ Randomness is deliberate βž” if every tree were identical, averaging would gain nothing; random data/feature subsets create the needed diversity.

🧠 Active Recall