What is the core intuition behind the PAC learning framework?

Last updated 14 November 2026

  • PAC (Probably Approximately Correct) learning asks that, with enough samples, a learner outputs a hypothesis with true error at most ε (approximately correct) with probability at least 1 − δ (probably), for any distribution.

  • A class is PAC-learnable if sample complexity m(ε, δ) is polynomial in 1/ε and 1/δ (finite realizable case: m ≥ (1/ε)(ln|H| + ln(1/δ))).

  • Intuition: a bad hypothesis rarely looks perfect on many random samples, and a union bound covers all of them. Learnability depends on class richness (|H| or VC dimension), not on knowing the distribution.

  • https://en.wikipedia.org/wiki/Probably_approximately_correct_learning
  • https://www.geeksforgeeks.org/machine-learning/understanding-pac-learning-theoretical-foundations-and-practical-applications-in-machine-learning/
  • https://dev.to/swyx/supervised-learning-computational-learning-theory-160h
All Supervised Learning interview questions