Introduction · Machine Learning

Hypothesis Space and Inductive Bias

Watch lectures

Hypothesis Space and Inductive Bias

1. Definitions

  • Hypothesis space HH: all models learner can express (e.g. all lines, all depth-5 trees).
  • Inductive bias: assumptions that rank hypotheses (prefer simpler, smoother, sparser).

Without bias, infinitely many ff fit train data — no reason to pick one for test.

2. Examples of Bias

Model Bias
Linear regression yy is linear in xx
kk-NN nearby xx share yy
Decision tree (limited depth) axis-aligned, simple splits win
Ridge (L2L₂) small weights win
CNN locality + translation invariance
fchosen=argminf∈H[train loss+λcomplexity(f)]f_{chosen} = \text{argmin}_{f ∈ H} [ \text{train loss} + λ \text{complexity}(f) ]

3. Size Matters

Small HH → high bias (may underfit). Huge HH → high variance (may overfit). Validation picks middle.

4. No Free Lunch (one line)

Averaged over all possible problems, no learner beats random — gains come from bias matching the real problem.

5. Exam Points

  • Define HH + bias with example — 5 marks, very frequent.
  • How bias controls overfitting — 3 marks, frequent.
  • No Free Lunch statement — 2 marks.
AI LearningWeb Platform

Coursify — Personal AI Course Generator

Struggling with a difficult subject or concept? Turn any engineering topic into a structured course with interactive lessons, quizzes, and research-backed explanations.

← All Machine Learning modules