ILossFunction<TOutput,TLabel>.Loss(TOutput, TLabel) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes the loss given the output and the ground truth. Note that the return value has type Double because the loss is usually accumulated over many instances.
public double Loss (TOutput output, TLabel label);
abstract member Loss : 'Output * 'Label -> double
Public Function Loss (output As TOutput, label As TLabel) As Double
Parameters
- output
- TOutput
- label
- TLabel