Loss function
An objective that assigns a scalar cost to a prediction, action, parameter setting, or comparison with a target.
An objective that assigns a scalar cost to a prediction, action, parameter setting, or comparison with a target.
A loss specifies what counts as error locally; an aggregate training objective specifies how those costs are combined and regularized.