What is loss function?
The calculation that measures how wrong the model is. Training means adjusting the model so this number goes down.
Also called: loss, cost function, loss functions.
An analogy
The scoreboard of mistakes: every wrong guess counts against you, and training exists to push that score toward zero.
Where it shows up in the course
- Gradient descent
- Regression
- Ensembles