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)
228partialResultSize = OneDal.RidgeRegressionOnlineCompute(featuresPtr, labelsPtr, batchSize, m - 1, _l2Weight, partialResultPtr, partialResultSize); 275OneDal.RidgeRegressionOnlineFinalize(featuresPtr, labelsPtr, n, (int)(n % batchSize), m - 1, _l2Weight, partialResultPtr, partialResultSize, betaPtr, xtyPtr, xtxPtr); 280if (!(_l2Weight > 0) && n < m) 361if (_l2Weight > 0) 375Double squared = _l2Weight * _l2Weight * n; 383if (!(_l2Weight > 0) && n < m) 448if (!(_l2Weight > 0) && m == n) 502if (_l2Weight > 0) 506float reg = _l2Weight * _l2Weight * n;