aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 1. Introduction to Machine Learning
Lesson 13 of 13 8 min · 152 words

Parametric vs. nonparametric learning

A fixed number of parameters versus models that grow with the data (e.g. k-NN).

A parametric model has a fixed number of parameters, no matter how much data you collect. Linear regression with features always has parameters. Parametric models make strong assumptions about the shape of , are fast to train and predict, and need less data — but they underfit if the assumption is wrong.

A nonparametric model's complexity grows with the data. k-nearest neighbours stores every training example; a decision tree can keep splitting as data grows; kernel methods keep one coefficient per training point. They make fewer assumptions and can fit complicated shapes, but need more data and more memory and are slower at prediction time.

Neural networks are technically parametric (a fixed number of weights), but they are so flexible that in practice they behave much like nonparametric models.

Formula to remember

SIR model

Slides

Flow between Susceptible, Infected and Recovered compartments.

transmission rate
recovery rate
population size
Quick check · +5 XP

Grouping customers by purchase behaviour without any labels is…

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