A learner must find a conjunction of literals over Boolean variables (each variable may appear positively, negated, or not at all) in the realisable setting. Treat the class as having hypotheses (the extra one is the always-false conjunction). How many examples guarantee error at most with probability at least ?
Learning theory, PAC learning
Level L2 Elementary. Length Short. Nature Mat Mathematical.
What's being asked
Whether you can count a hypothesis class and plug it into the realisable finite-class bound.
Key idea
with .
Steps
- Count : each of the variables has choices (positive literal, negated literal, absent), giving , plus the always-false conjunction, so .
- Set and .
- Compute and . The sum is about .
- Divide by : . Round up to .
- Note that grows linearly in , so the sample size is linear in the number of variables, even though is exponential.
Common mistakes
- Using instead of the natural logarithm. The bound uses .
- Forgetting to round up. does not satisfy the inequality.
- Using the agnostic bound with . The problem is realisable, so is correct.
How long your answer should be
4–5 lines; about 2 minutes.
Last checked on 4 December 2026.
Read this
Previous in Learning theory: The halving algorithm is run on a finite class of hypotheses and the labels are realisable (some hypothesis in the class is always correct). What is the largest number of mistakes it can make, and why?
Next in Learning theory: A perceptron is run on linearly separable data with for all . Some unit vector separates it with margin . What upper bound does Novikoff's theorem give on the number of mistakes? What changes if all inputs are multiplied by ?