1 write to L1Weight
Microsoft.ML.StandardTrainers (1)
Standard\LogisticRegression\LbfgsPredictorBase.cs (1)
260
L1Weight
= LbfgsTrainerOptions.L1Regularization;
9 references to L1Weight
Microsoft.ML.StandardTrainers (9)
Standard\LogisticRegression\LbfgsPredictorBase.cs (5)
320
Optimizer opt = (
L1Weight
> 0)
321
? new L1Optimizer(Host, BiasCount,
L1Weight
/ NumGoodRows, MemorySize, DenseOptimizer, null, EnforceNonNegativity)
556
OneDalLbfgs.LogisticRegressionCompute(featuresPtr, labelsPtr, weightsPtr, useSampleWeights, betaPtr, NumGoodRows, nFeatures, ClassCount,
L1Weight
, L2Weight, OptTol, MaxIterations, MemorySize, numThreads);
712
if ((
L1Weight
> 0 && !Quiet) || ShowTrainingStats)
715
if (
L1Weight
> 0 && !Quiet)
Standard\LogisticRegression\LogisticRegression.cs (2)
245
if (
L1Weight
> 0)
251
deviance -= (float)regLoss *
L1Weight
* 2;
Standard\LogisticRegression\MulticlassLogisticRegression.cs (2)
331
if (
L1Weight
> 0)
337
deviance -= (float)regLoss *
L1Weight
* 2;