LESSON 5.09 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Cross-entropy losses
Watch scores become probabilities, and see why sure, wrong guesses cost the most.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 5.09 · LOSS BAYSCORES −1.00, 2.00, 1.00
01
Stage 1 of 6 · The scores
The last layer gives one raw score, a logit, per label. A score can be any number.
Explain it simply
Each row is one label, numbered 1 to 3. The bar on the left is the label's score, a plain number from the network. A score can be negative or larger than 1, so it is not a probability yet. The next stage turns the scores into probabilities.
Three labels with scores −1.00, 2.00, 1.00.
The scores are picked by hand, not trained.
scores, probabilitiestargetloss, gradient0 to 1 track
Toy: 1 example, 3 labels, picked scores
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
One raw score per label.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.