Back

loss function

A loss function (or cost function) measures the difference between the predicted and actual output of an AI model. The loss function outputs a higher number when the predictions are poor and a lower number when they are more accurate. The goal of training a model is to seek the lowest possible loss, indicating that the model's predictions are as close as possible to the true values.



Share: