1 write to _smoothConst
Microsoft.ML.Data (1)
Utils\LossFunctions.cs (1)
338_smoothConst = smoothingConstant;
7 references to _smoothConst
Microsoft.ML.Data (7)
Utils\LossFunctions.cs (7)
339_halfSmoothConst = _smoothConst / 2; 340_doubleSmoothConst = _smoothConst * 2; 356if (u < _smoothConst) // u > 1 - _smoothConst 370if (u < _smoothConst) 371return -truth * u / _smoothConst; 378return 1 / (scaledFeaturesNormSquared + _smoothConst); 384var tmp = (1 - output * truth - _smoothConst * alpha * truth) * invariant + alpha * truth;