No Free Lunch Theorem

Context: FIT1043_MOC · why there’s no single best ML algorithm · reinforces the bias–variance lesson · motivates trying several models

Quick Revision

  • 🎯 Objective: accept that no algorithm is universally best âž” strong performance on one problem class is paid for elsewhere.
  • ⚡ Key Constraint: the result holds with finite data — algorithm choice must be matched to the problem, not assumed.

📝 Core

  • Wolpert & Macready âž” proved that if a learning algorithm does well on one class of problems, it necessarily does worse on the set of all remaining problems.
  • Consequence âž” there is no universally good ML algorithm (given finite data).
  • Match algorithm to problem âž” e.g. Naive Bayes classification works well for text with smaller datasets; linear SVMs work well for text classification.

⚠️ Common Mistakes

  • đź’ˇ No “best model” to default to âž” don’t assume one algorithm wins everywhere; try candidates and evaluate on a test set.
  • đź’ˇ Gains are traded, not free âž” specialising to one problem class costs performance on others.

đź§  Active Recall