1 write to _l2Weight
Microsoft.ML.Mkl.Components (1)
OlsLinearRegression.cs (1)
126
_l2Weight
= options.L2Regularization;
11 references to _l2Weight
Microsoft.ML.Mkl.Components (11)
OlsLinearRegression.cs (11)
228
partialResultSize = OneDal.RidgeRegressionOnlineCompute(featuresPtr, labelsPtr, batchSize, m - 1,
_l2Weight
, partialResultPtr, partialResultSize);
275
OneDal.RidgeRegressionOnlineFinalize(featuresPtr, labelsPtr, n, (int)(n % batchSize), m - 1,
_l2Weight
, partialResultPtr, partialResultSize, betaPtr, xtyPtr, xtxPtr);
280
if (!(
_l2Weight
> 0) && n < m)
361
if (
_l2Weight
> 0)
375
Double squared =
_l2Weight
*
_l2Weight
* n;
383
if (!(
_l2Weight
> 0) && n < m)
448
if (!(
_l2Weight
> 0) && m == n)
502
if (
_l2Weight
> 0)
506
float reg =
_l2Weight
*
_l2Weight
* n;