1 write to _curWindow
Microsoft.ML.TimeSeries (1)
SrCnnEntireAnomalyDetector.cs (1)
1030Array.Resize(ref _curWindow, wLen);
18 references to _curWindow
Microsoft.ML.TimeSeries (18)
SrCnnEntireAnomalyDetector.cs (18)
1038int addId = BisectRight(_curWindow, 0, i, _val[i]); 1041_curWindow[index] = _curWindow[index - 1]; 1044_curWindow[addId] = data[i]; 1046_trends[i - wLen / 2] = SortedMedian(_curWindow, 0, i + 1); 1049_trends[window / 2] = SortedMedian(_curWindow, 0, wLen); 1053int deleteId = BisectRight(_curWindow, 0, wLen, _val[i - window / 2 - 1]) - 1; 1057_curWindow[index] = _curWindow[index + 1]; 1060int addId = BisectRight(_curWindow, 0, wLen - 1, _val[i + window / 2]); 1064_curWindow[index] = _curWindow[index - 1]; 1067_curWindow[addId] = data[i + window / 2]; 1068_trends[i] = SortedMedian(_curWindow, 0, wLen); 1075int deleteId = BisectRight(_curWindow, 0, wLen, data[i - window / 2 - 1]) - 1; 1079_curWindow[index] = _curWindow[index + 1]; 1083_trends[i] = SortedMedian(_curWindow, 0, wLen);