4 writes to LogMartingaleUpdateBuffer
Microsoft.ML.TimeSeries (4)
SequentialAnomalyDetectionTransformBase.cs (4)
452
stateLocal.
LogMartingaleUpdateBuffer
= LogMartingaleUpdateBuffer.Clone();
458
LogMartingaleUpdateBuffer
= TimeSeriesUtils.DeserializeFixedSizeQueueDouble(reader, Host);
663
LogMartingaleUpdateBuffer
= new FixedSizeQueue<Double>(WindowSize == 0 ? 1 : WindowSize);
665
LogMartingaleUpdateBuffer
= new FixedSizeQueue<Double>(1);
8 references to LogMartingaleUpdateBuffer
Microsoft.ML.TimeSeries (8)
SequentialAnomalyDetectionTransformBase.cs (8)
452
stateLocal.LogMartingaleUpdateBuffer =
LogMartingaleUpdateBuffer
.Clone();
468
TimeSeriesUtils.SerializeFixedSizeQueue(
LogMartingaleUpdateBuffer
, writer);
601
if (
LogMartingaleUpdateBuffer
.Count == 0)
603
for (int i = 0; i <
LogMartingaleUpdateBuffer
.Capacity; ++i)
604
LogMartingaleUpdateBuffer
.AddLast(martingaleUpdate);
605
_logMartingaleValue +=
LogMartingaleUpdateBuffer
.Capacity * martingaleUpdate;
610
_logMartingaleValue -=
LogMartingaleUpdateBuffer
.PeekFirst();
611
LogMartingaleUpdateBuffer
.AddLast(martingaleUpdate);