Click or drag to resize
Accord.NET (logo)

IDifferentiableLossTInput, TScore, TLoss Interface

Common interface for differentiable loss functions, such as SquareLoss, HingeLoss, CategoryCrossEntropyLoss and BinaryCrossEntropyLoss.

Namespace:  Accord.Math.Optimization.Losses
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public interface IDifferentiableLoss<TInput, TScore, TLoss>

Type Parameters

TInput
TScore
TLoss

The IDifferentiableLossTInput, TScore, TLoss type exposes the following members.

Methods
  NameDescription
Public methodDerivative
Computes the derivative of the loss between the expected values (ground truth) and the given actual values that have been predicted.
Public methodLoss
Computes the derivative of the loss between the expected values (ground truth) and the given actual values that have been predicted.
Top
See Also