# ISupportSdcaClassificationLoss Interface

## Definition

public interface ISupportSdcaClassificationLoss : Microsoft.ML.Trainers.IClassificationLoss, Microsoft.ML.Trainers.ILossFunction<float,float>, Microsoft.ML.Trainers.ISupportSdcaLoss
type ISupportSdcaClassificationLoss = interface
interface ISupportSdcaLoss
interface IScalarLoss
interface ILossFunction<single, single>
interface IClassificationLoss
Public Interface ISupportSdcaClassificationLoss
Implements IClassificationLoss, ILossFunction(Of Single, Single), ISupportSdcaLoss
Derived
Implements

## Methods

 (Inherited from ISupportSdcaLoss) Derivative of the loss function with respect to output (Inherited from IScalarLoss) The dual loss function for a training example. If f(x) denotes the loss function on an individual training example, then this function returns -f*(-x*), where f*(x*) is the Fenchel conjugate of f(x). (Inherited from ISupportSdcaLoss) Compute the dual update (\Delta\alpha_i) in SDCA alpha: dual variable at the specified instance lambdaN: L2 const x number of instances cached invariant, hinted by the method above (Inherited from ISupportSdcaLoss) 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. (Inherited from ILossFunction)