2 writes to L2Regularization
Microsoft.ML.StandardTrainers (2)
Standard\Online\AveragedPerceptron.cs (1)
185
L2Regularization
= l2Regularization,
Standard\Online\OnlineGradientDescent.cs (1)
151
L2Regularization
= l2Regularization,
5 references to L2Regularization
Microsoft.ML.StandardTrainers (5)
Standard\Online\AveragedLinear.cs (5)
231
if (loss != 0 || _args.
L2Regularization
> 0)
252
WeightsScale *= 1 - 2 * _args.
L2Regularization
; // L2 regularization.
313
Contracts.CheckUserArg(0 <= options.
L2Regularization
&& options.
L2Regularization
< 0.5, nameof(options.
L2Regularization
), "must be in range [0, 0.5)");