🌐 DE
🌙 Dark
Deep Learning Concept
Loss Functions ·
MSE vs Cross-Entropy
Drag the prediction toward — or away from — the true label, and compare how each loss reacts.
p PREDICTION
0.70
prediction p
loss
y
MSE
Cross-Entropy
prediction p
0.70
MSE = (p−y)²
0.090
Cross-Entropy
0.357
true label y=1 · move p toward 0 and watch CE explode
loss.py