1 write to _units
Microsoft.ML.TimeSeries (1)
SrCnnEntireAnomalyDetector.cs (1)
1004Array.Resize(ref _units, _trends.Length);
12 references to _units
Microsoft.ML.TimeSeries (12)
SrCnnEntireAnomalyDetector.cs (12)
744var margin = CalculateMargin(_units[i], sensitivity); 745results[i][4] = _units[i]; 815results[i][1] = CalculateAnomalyScore(values[i], _ifftRe[i], _units[i], results[i][0] > 0); 821results[i][3] = AdjustExpectedValueBasedOnBound(values[i], results[i][3], _units[i]); 840var margin = CalculateMargin(_units[i], sensitivity); 843results[i][4] = _units[i]; 848results[i][1] = CalculateAnomalyScore(values[i], _ifftRe[i], _units[i], results[i][0] > 0); 856results[i][3] = AdjustExpectedValueBasedOnBound(values[i], results[i][3], _units[i]); 1005for (int i = 0; i < _units.Length; ++i) 1009_units[i] = _unitForZero; 1013_units[i] = averageTrendPart + Math.Abs(_trends[i]) * trendFraction; 1014if (double.IsInfinity(_units[i]))