본문으로 건너뛰기

Mean absolute error

MAE

The average loss per example when L1 loss is used. Calculate MAE as follows:1

  1. Calculate the L1 loss for a batch.
  2. Divide the L1 loss by the number of examples in the batch.
MAE=1ni=0n|yiy^i|

where:

  • n is the number of examples.
  • y is the actual value of the label.
  • y^ is the value that the model predicts for y.

See also

Footnotes

  1. developers.google.com/machine-learning/glossary#MAE