by Michele Laurelli
A measure of how wrong the model's predictions are, used to guide training.
Loss function quantifies error. Training minimizes loss. Lower loss = better model. Different tasks use different loss functions.
Cross-entropy loss
Mean squared error
Loss decreasing over epochs