BeginnerAbout 15 min
Loss Functions
Read the full article on Substack
7 min read.
Compare different loss functions (MSE, Cross-Entropy, etc.) and understand their use cases.
Prediction0.40
Target 0.8, prediction 0.40: MSE 0.160. Squaring makes large errors cost far more than small ones. Smooth gradients everywhere.
Check your understanding
Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.
Which loss for which task?
Sort
Sort each loss by the task it belongs to.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
Regression
Drop items hereClassification
Drop items here6 pieces left to place
Quiz
20 questionsQuestion 1 of 20
Score: 0
A loss function measures…
Done with this lesson?
Sign in free to keep your progress, streak and quiz scores.