2 writes to _loss
Microsoft.ML.StandardTrainers (2)
Standard\SdcaMulticlass.cs (2)
139_loss = loss ?? SdcaTrainerOptions.InternalLoss ?? SdcaTrainerOptions.LossFunctionFactory.CreateComponent(env); 150_loss = options.InternalLoss ?? options.LossFunctionFactory.CreateComponent(env);
6 references to _loss
Microsoft.ML.StandardTrainers (6)
Standard\SdcaMulticlass.cs (6)
140Loss = _loss; 151Loss = _loss; 222invariant = _loss.ComputeDualUpdateInvariant(2 * normSquared * lambdaNInv * GetInstanceWeight(cursor)); 258var dualUpdate = _loss.DualUpdate(output, 1, dual, invariant, numThreads); 397subLoss += _loss.Loss(labelOutput - currentClassOutput, 1); 400subDualLoss += _loss.DualLoss(1, dual);