Loss Function
A mathematical function that measures how far a model's predictions are from the actual target values. During training, the optimizer adjusts parameters to minimize this loss. Common examples include cross-entropy for classification and mean squared error for regression.