Machine Learning & Training

What Is a Loss Function?

A loss function quantifies the difference between a model's predictions and the actual target values. During training, optimization algorithms work to minimize this loss. The choice of loss function depends on the task, such as cross-entropy for classification or mean squared error for regression.

Further reading

Read more about loss function — articles and blogs from around the web: