3 interfaces inheriting from IScalarLoss
Microsoft.ML.Data (3)
Dirty\ILoss.cs (2)
34
public interface IRegressionLoss :
IScalarLoss
44
public interface IClassificationLoss :
IScalarLoss
Utils\LossFunctions.cs (1)
48
public interface ISupportSdcaLoss :
IScalarLoss
6 references to IScalarLoss
Microsoft.ML.Core.Tests (1)
UnitTests\TestLoss.cs (1)
38
private void TestHelper(
IScalarLoss
lossFunc, double label, double output, double expectedLoss, double expectedUpdate, bool differentiable = true)
Microsoft.ML.StandardTrainers (5)
Standard\Online\AveragedLinear.cs (3)
119
internal abstract IComponentFactory<
IScalarLoss
> LossFunctionFactory { get; }
130
private protected
IScalarLoss
LossFunction;
152
private readonly
IScalarLoss
_loss;
Standard\Online\AveragedPerceptron.cs (1)
119
internal override IComponentFactory<
IScalarLoss
> LossFunctionFactory => ClassificationLossFunctionFactory;
Standard\Online\OnlineGradientDescent.cs (1)
81
internal override IComponentFactory<
IScalarLoss
> LossFunctionFactory => RegressionLossFunctionFactory;