ILossFunction<TOutput,TLabel> Interface

Definition

public interface ILossFunction<in TOutput,in TLabel>
type ILossFunction<'Output, 'Label> = interface
Public Interface ILossFunction(Of In TOutput, In TLabel)

Type Parameters

TOutput
TLabel
Derived

Methods

Loss(TOutput, TLabel)

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.

Applies to