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