본문으로 건너뛰기

L2 loss

Squared loss

A loss function that calculates the square of the difference between actual label values and the values that a model predicts. Due to squaring, L2 loss amplifies the influence of outliers. That is, L2 loss reacts more strongly to bad predictions than L1 loss.1

L2loss=i=0n(yiy^i)2

See also

Footnotes

  1. developers.google.com/machine-learning/glossary#l2-loss

작성
수정

2026 © ak | markdown