Back to glossaryExternal reference
AI GLOSSARY
Loss Function
AI & Machine Learning
A mathematical function that measures how far a model's predictions are from the correct answers. During training, the goal is to minimize the loss, and it is the signal that drives the entire learning process via gradient descent. Different tasks use different loss functions suited to their nature.