1 write to _trends
Microsoft.ML.TimeSeries (1)
SrCnnEntireAnomalyDetector.cs (1)
1028
Array.Resize(ref
_trends
, tLen);
10 references to _trends
Microsoft.ML.TimeSeries (10)
SrCnnEntireAnomalyDetector.cs (10)
984
for (int i = 0; i <
_trends
.Length; ++i)
988
closeToZero = closeToZero &&
_trends
[i] < _eps;
989
trendSum += Math.Abs(
_trends
[i]);
1004
Array.Resize(ref _units,
_trends
.Length);
1013
_units[i] = averageTrendPart + Math.Abs(
_trends
[i]) * trendFraction;
1029
Array.Copy(data,
_trends
, tLen);
1046
_trends
[i - wLen / 2] = SortedMedian(_curWindow, 0, i + 1);
1049
_trends
[window / 2] = SortedMedian(_curWindow, 0, wLen);
1068
_trends
[i] = SortedMedian(_curWindow, 0, wLen);
1083
_trends
[i] = SortedMedian(_curWindow, 0, wLen);