Example: the SIR epidemic model
Splitting a population into Susceptible, Infected and Recovered and modelling the flow between them.
The SIR model predicts the spread of an infectious disease. The population is divided into three compartments — Susceptible (S), Infected (I) and Recovered (R) — and differential equations describe how people move between them over time.
Example from the lecture: a flu outbreak in a town of people, starting from , , , with transmission rate and recovery rate .
Solving the equations numerically shows the infected population rising to a peak, then falling as most people recover or gain immunity. The model helps estimate infection peaks and how much interventions like vaccination help.
Formula to remember
Dataset
A supervised dataset: n examples, each a feature vector with its label.