Loss Function

A loss function is a method of evaluating how well specific algorithm models the given data. If predictions deviate from actual results, loss functions provide a measure of the error.