1 write to _curWindow
Microsoft.ML.TimeSeries (1)
SrCnnEntireAnomalyDetector.cs (1)
1030
Array.Resize(ref
_curWindow
, wLen);
18 references to _curWindow
Microsoft.ML.TimeSeries (18)
SrCnnEntireAnomalyDetector.cs (18)
1038
int 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);
1053
int deleteId = BisectRight(
_curWindow
, 0, wLen, _val[i - window / 2 - 1]) - 1;
1057
_curWindow
[index] =
_curWindow
[index + 1];
1060
int 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);
1075
int deleteId = BisectRight(
_curWindow
, 0, wLen, data[i - window / 2 - 1]) - 1;
1079
_curWindow
[index] =
_curWindow
[index + 1];
1083
_trends[i] = SortedMedian(
_curWindow
, 0, wLen);