Calculates the derivative of the PartialLossFunction
Calculates the derivative of the PartialLossFunction
The predicted value
The true value
The derivative of the loss function
Calculates the loss depending on the label and the prediction
Calculates the loss depending on the label and the prediction
The predicted value
The true value
The loss
Squared loss function which can be used with the GenericLossFunction
The SquaredLoss function implements
1/2 (prediction - label)^2