Skip to content
Klay

Loss: how wrong is the model?

After this lesson you can: Explain what a loss function measures and why training minimises it.

First: Features and labels

Watch

Notes

A loss function is the model’s score for “how wrong was this prediction?” It compares the model’s output with the true label and returns a number. Small loss means the prediction was close to the answer the training data says is correct. Large loss means it was far away, or confidently wrong. Training uses this number as feedback: change the model so that, across many examples, the loss becomes smaller.

Unlock the full lesson notes, the exercises and the graded checkpoint - ₹5,000 once.