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