5 references to Sum
Microsoft.ML.StandardTrainers (5)
Standard\SdcaBinary.cs (3)
998var newLoss = lossSum.Sum / count + l2Regularizer + l1Regularizer; 999var newDualLoss = dualLossSum.Sum / count - l2Regularizer - l2Const * biasUnreg[0] * biasReg[0]; 2094var newLoss = lossSum.Sum / count + l2Weight * VectorUtils.NormSquared(weights) * 0.5;
Standard\SdcaMulticlass.cs (2)
429var newLoss = lossSum.Sum / count + l2Regularizer + l1Regularizer; 430var newDualLoss = dualLossSum.Sum / count - l2Regularizer - l2Const * biasRegularizationAdjustment;