log-loss / cross-entropy loss penalizes: confident wrong predictions more heavily

How wrong predictions hurt more than they're supposed to

Image: U.S. Navy photo by Photographer's Mate 2nd Class Philip A. McDaniel, Public domain, via Wikimedia Commons

log-loss / cross-entropy loss penalizes: confident wrong predictions more heavily

How wrong predictions hurt more than they're supposed to

Imagine you're guessing answers on a multiple-choice quiz. You confidently choose B, but it's actually A. How unfair is that?

Cross-entropy loss punishes confident wrong predictions more than uncertain ones, because it measures how much extra information is needed when your guesses are off-target.

Example

If you guessed B 10 times and A 2 times, cross-entropy loss would penalize you more for those confident B guesses than for the uncertain A guesses.

Remember this

Cross-entropy loss is harsher on confident wrong predictions.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath