1 write to _trends
Microsoft.ML.TimeSeries (1)
SrCnnEntireAnomalyDetector.cs (1)
1031
Array.Resize(ref
_trends
, tLen);
10 references to _trends
Microsoft.ML.TimeSeries (10)
SrCnnEntireAnomalyDetector.cs (10)
987
for (int i = 0; i <
_trends
.Length; ++i)
991
closeToZero = closeToZero &&
_trends
[i] < _eps;
992
trendSum += Math.Abs(
_trends
[i]);
1007
Array.Resize(ref _units,
_trends
.Length);
1016
_units[i] = averageTrendPart + Math.Abs(
_trends
[i]) * trendFraction;
1032
Array.Copy(data,
_trends
, tLen);
1049
_trends
[i - wLen / 2] = SortedMedian(_curWindow, 0, i + 1);
1052
_trends
[window / 2] = SortedMedian(_curWindow, 0, wLen);
1071
_trends
[i] = SortedMedian(_curWindow, 0, wLen);
1086
_trends
[i] = SortedMedian(_curWindow, 0, wLen);