What is loss?
A single number measuring how wrong a model's predictions are. Training tries to make it small.
Where it is taught
Loss, a number for how wrong. Before a model can improve, "wrong" has to be turned into a single number. That number is the loss, and training is the effort to make it small.
What the lesson leaves you with
- A loss function turns "how wrong" into one number. Lower is better.
- Mean squared error averages the squared gaps between predictions and targets.
- With the data fixed, the loss is a landscape over the parameters, and training looks for its lowest point.
Questions
- What is loss?
- A single number measuring how wrong a model's predictions are. Training tries to make it small.
- Where is loss used in AI?
- Before a model can improve, "wrong" has to be turned into a single number. That number is the loss, and training is the effort to make it small.
- What is the key idea to remember about loss?
- A loss function turns "how wrong" into one number. Lower is better.
- Where can I learn loss step by step?
- In the lesson “Loss, a number for how wrong” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.