4 writes to LossFunction
Microsoft.ML.Samples (1)
Dynamic\Trainers\Recommendation\OneClassMatrixFactorizationWithOptions.cs (1)
62
LossFunction
= MatrixFactorizationTrainer.LossFunctionType
Microsoft.ML.Tests (3)
TrainerEstimators\MatrixFactorizationTests.cs (3)
454
LossFunction
= MatrixFactorizationTrainer.LossFunctionType.SquareLossOneClass,
598
LossFunction
= MatrixFactorizationTrainer.LossFunctionType.SquareLossOneClass,
670
LossFunction
= MatrixFactorizationTrainer.LossFunctionType.SquareLossOneClass
7 references to LossFunction
Microsoft.ML.AutoML (1)
TrainerExtensions\SweepableParams.cs (1)
128
new SweepableDiscreteParam(nameof(MatrixFactorizationTrainer.Options.
LossFunction
), new object[] { MatrixFactorizationTrainer.LossFunctionType.SquareLossRegression, MatrixFactorizationTrainer.LossFunctionType.SquareLossOneClass }),
Microsoft.ML.CodeGenerator.Tests (2)
ApprovalTests\ConsoleCodeGeneratorTests.cs (1)
554
{nameof(MatrixFactorizationTrainer.Options.
LossFunction
), MatrixFactorizationTrainer.LossFunctionType.SquareLossRegression },
TrainerGeneratorTests.cs (1)
309
{nameof(MatrixFactorizationTrainer.Options.
LossFunction
), MatrixFactorizationTrainer.LossFunctionType.SquareLossRegression },
Microsoft.ML.Recommender (4)
MatrixFactorizationTrainer.cs (4)
222
/// Importance of unobserved entries' loss in one-class matrix factorization. Applicable if <see cref="
LossFunction
"/> set to <see cref="LossFunctionType.SquareLossOneClass"/>
242
/// Desired negative entries value in one-class matrix factorization. Applicable if <see cref="
LossFunction
"/> set to <see cref="LossFunctionType.SquareLossOneClass"/>
359
_fun = (int)options.
LossFunction
;
401
_fun = (int)args.
LossFunction
;