Lazy Learning
An approach in which training comes down to memorizing the data, and all the work is done at prediction time.
Comparison
| Lazy (KNN) | Eager (linear regression) | |
|---|---|---|
| What training does | memorizes | fits parameters |
| What inference does | recomputes everything | plugs numbers into a formula |
| Cost of inference | high | low |
Typical Example
KNN: the model consists entirely of the training set, and every prediction requires finding the \(K\) nearest neighbors.