Definition

  • A loss function says how expensive it is to predict when the truth is . 0-1 loss: . Squared loss: .
  • The true risk of is its expected loss under the data distribution .

Formula

The goal of machine learning is to use training data to construct a function whose true risk is as small as possible. The smallest possible value is the Bayes risk . The loss may depend on and on the type of error (asymmetric costs), and its choice influences the inductive bias.

Appears in