1 write to _trends
Microsoft.ML.TimeSeries (1)
SrCnnEntireAnomalyDetector.cs (1)
1032
Array.Resize(ref
_trends
, tLen);
10 references to _trends
Microsoft.ML.TimeSeries (10)
SrCnnEntireAnomalyDetector.cs (10)
988
for (int i = 0; i <
_trends
.Length; ++i)
992
closeToZero = closeToZero &&
_trends
[i] < _eps;
993
trendSum += Math.Abs(
_trends
[i]);
1008
Array.Resize(ref _units,
_trends
.Length);
1017
_units[i] = averageTrendPart + Math.Abs(
_trends
[i]) * trendFraction;
1033
Array.Copy(data,
_trends
, tLen);
1050
_trends
[i - wLen / 2] = SortedMedian(_curWindow, 0, i + 1);
1053
_trends
[window / 2] = SortedMedian(_curWindow, 0, wLen);
1072
_trends
[i] = SortedMedian(_curWindow, 0, wLen);
1087
_trends
[i] = SortedMedian(_curWindow, 0, wLen);