7 writes to L2Regularization
Microsoft.ML.AutoML (4)
SweepableEstimator\Estimators\Sdca.cs (4)
19L2Regularization = param.L2Regularization, 37L2Regularization = param.L2Regularization, 55L2Regularization = param.L2Regularization, 73L2Regularization = param.L2Regularization,
Microsoft.ML.StandardTrainers (3)
Standard\SdcaBinary.cs (3)
255L2Regularization = L2LowerBound; 311SdcaTrainerOptions.L2Regularization = l2Const ?? options.L2Regularization; 458SdcaTrainerOptions.L2Regularization = TuneDefaultL2(ch, SdcaTrainerOptions.MaximumNumberOfIterations.Value, count, numThreads);
18 references to L2Regularization
Microsoft.ML.StandardTrainers (18)
Standard\SdcaBinary.cs (15)
243env.CheckUserArg(L2Regularization == null || L2Regularization >= 0, nameof(L2Regularization), "L2 constant must be non-negative."); 248if (L2Regularization < L2LowerBound) 254$"The original {nameof(L2Regularization)} = {L2Regularization}, was replaced with {nameof(L2Regularization)} = {L2LowerBound}."); 311SdcaTrainerOptions.L2Regularization = l2Const ?? options.L2Regularization; 457if (SdcaTrainerOptions.L2Regularization == null) 460Contracts.Assert(SdcaTrainerOptions.L2Regularization.HasValue); 494ch.Assert(SdcaTrainerOptions.L2Regularization.HasValue); 495var l2Const = SdcaTrainerOptions.L2Regularization.Value; 802var lr = SdcaTrainerOptions.BiasLearningRate * SdcaTrainerOptions.L2Regularization.Value; 992Contracts.Assert(SdcaTrainerOptions.L2Regularization.HasValue); 994Double l2Const = SdcaTrainerOptions.L2Regularization.Value;
Standard\SdcaMulticlass.cs (3)
190var lr = SdcaTrainerOptions.BiasLearningRate * SdcaTrainerOptions.L2Regularization.Value; 411Contracts.Assert(SdcaTrainerOptions.L2Regularization.HasValue); 413Double l2Const = SdcaTrainerOptions.L2Regularization.Value;