|
IDifferentiableLossTInput, TScore, TLossDerivative Method
|
Computes the derivative of the loss between the expected values (ground truth)
and the given actual values that have been predicted.
Namespace:
Accord.Math.Optimization.Losses
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax TLoss Derivative(
TInput expected,
TScore actual
)
Function Derivative (
expected As TInput,
actual As TScore
) As TLoss
Parameters
- expected
- Type: TInput
The expected values that should have been predicted. - actual
- Type: TScore
The actual values that have been predicted.
Return Value
Type:
TLossThe loss value between the expected values and
the actual predicted values.
See Also