Loss functions

A loss function, also known as a cost function, is a function that maps an event or values of one or more variables onto a real number intuitively representing some cost associated with the event. We will cover the following three loss functions in this chapter:

  • L1 Loss
  • L2 Loss
  • Categorical Crossentropy Loss