3 writes to _buffer
Microsoft.ML.TimeSeries (3)
AdaptiveSingularSpectrumSequenceModeler.cs (3)
268
_buffer
= new FixedSizeQueue<Single>(seriesLength);
321
_buffer
= model._buffer.Clone();
443
_buffer
= TimeSeriesUtils.DeserializeFixedSizeQueueSingle(ctx.Reader, _host);
14 references to _buffer
Microsoft.ML.TimeSeries (14)
AdaptiveSingularSpectrumSequenceModeler.cs (14)
192
public Single LastValue { get { return
_buffer
.Count > 0 ?
_buffer
[
_buffer
.Count - 1] : Single.NaN; } }
321
_buffer = model.
_buffer
.Clone();
520
TimeSeriesUtils.SerializeFixedSizeQueue(
_buffer
, ctx.Writer);
735
_buffer
.Clear();
1125
if (
_buffer
.Count == 0)
1128
_buffer
.AddLast(_state[i]);
1131
int len =
_buffer
.Count;
1135
_x[i - len + _windowSize - 1] =
_buffer
[i];
1159
_buffer
.AddLast(input);
1378
if (
_buffer
.Count > 0) // Use the buffer to set the state when there are data points pushed into the buffer using the Consume() method
1380
int len =
_buffer
.Count;
1384
_x[i - len + _windowSize] =
_buffer
[i];