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