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

Learning from data

Using examples to fit a model that generalises to new, unseen cases.

Learning from data means we assume there is some unknown function that maps inputs to outputs, . We never see directly — only a finite set of examples . The learning algorithm searches for a model that approximates .

Three ingredients are always present: a model class (the family of functions we allow, e.g. all straight lines), a loss that measures how wrong a prediction is, and an optimisation procedure that picks the member of the model class with the smallest loss on the data.

The real goal is not to do well on the examples we have — memorising them would do that — but to generalise: make good predictions on new inputs drawn from the same source. Everything about validation sets, regularisation and model selection exists to protect generalisation.

Formula to remember

SIR model

Slides

Flow between Susceptible, Infected and Recovered compartments.

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

Which set should be used only once, to report final performance?

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