ILossFunction<TOutput,TLabel> Interface
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.
C#
public interface ILossFunction<in TOutput,in TLabel>
type ILossFunction<'Output, 'Label> = interface
Public Interface ILossFunction(Of In TOutput, In TLabel)
- TOutput
- TLabel
- Derived
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. |
Product | Versions |
---|---|
ML.NET | 1.0.0, 1.1.0, 1.2.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, Preview, 4.0.0 |