4 writes to LossFunction
Microsoft.ML.Samples (1)
Dynamic\Trainers\Recommendation\OneClassMatrixFactorizationWithOptions.cs (1)
62LossFunction = MatrixFactorizationTrainer.LossFunctionType
Microsoft.ML.Tests (3)
TrainerEstimators\MatrixFactorizationTests.cs (3)
454LossFunction = MatrixFactorizationTrainer.LossFunctionType.SquareLossOneClass, 598LossFunction = MatrixFactorizationTrainer.LossFunctionType.SquareLossOneClass, 670LossFunction = MatrixFactorizationTrainer.LossFunctionType.SquareLossOneClass
7 references to LossFunction
Microsoft.ML.AutoML (1)
TrainerExtensions\SweepableParams.cs (1)
128new 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;