aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 4. Learning as an Optimization Problem
Lesson 1 of 12 8 min · 147 words

Hypothesis and model class

The set of functions a learning algorithm is allowed to choose from.

The hypothesis class (or model class) is the set of functions the learning algorithm is allowed to choose from. Linear regression uses ; a decision tree of depth 3 uses all trees with at most 3 levels; a neural network uses every function its architecture can represent.

Choosing is choosing your inductive bias — the assumptions that let you generalise from finite data. Without any restriction, infinitely many functions fit the training data perfectly and disagree everywhere else.

A small class may not contain anything close to the truth (approximation error → underfitting). A huge class contains many functions that fit the noise (estimation error → overfitting).

Formula to remember

Expected risk

Average loss over the true (unknown) data distribution.

Quick check · +5 XP

Empirical risk is the average loss over…

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser