1 write to _trends
Microsoft.ML.TimeSeries (1)
SrCnnEntireAnomalyDetector.cs (1)
1028Array.Resize(ref _trends, tLen);
10 references to _trends
Microsoft.ML.TimeSeries (10)
SrCnnEntireAnomalyDetector.cs (10)
984for (int i = 0; i < _trends.Length; ++i) 988closeToZero = closeToZero && _trends[i] < _eps; 989trendSum += Math.Abs(_trends[i]); 1004Array.Resize(ref _units, _trends.Length); 1013_units[i] = averageTrendPart + Math.Abs(_trends[i]) * trendFraction; 1029Array.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);