← Glossary
Glossary
What is Loss Function?
A function that measures the gap between predicted and actual output. Training minimizes this function. MSE for regression, cross-entropy for classification, contrastive loss for embeddings. The choice of loss function defines what "good" means to the model.
What people say
How wrong the AI is