2 writes to WindowSize
Microsoft.ML.TimeSeries (2)
SequentialTransformBase.cs (2)
289WindowSize = windowSize; 318WindowSize = windowSize;
21 references to WindowSize
Microsoft.ML.TimeSeries (21)
ExponentialAverageTransform.cs (2)
77Host.CheckDecode(WindowSize == 1); 83Host.Assert(WindowSize >= 1);
MovingAverageTransform.cs (4)
92Host.CheckDecode(WindowSize >= 1); 93Host.CheckDecode(_weights == null || Utils.Size(_weights) == WindowSize + 1 - _lag); 99Host.Assert(WindowSize >= 1); 111Host.Assert(_weights == null || Utils.Size(_weights) == WindowSize + 1 - _lag);
PercentileThresholdTransform.cs (2)
83Host.CheckDecode(WindowSize >= 1); 91Host.Assert(WindowSize >= 1);
PValueTransform.cs (2)
89Host.CheckDecode(WindowSize >= 1); 95Host.Assert(WindowSize >= 1);
SequentialTransformBase.cs (5)
291_transform = CreateLambdaTransform(Host, input, OutputColumnName, InputColumnName, InitFunction, WindowSize > 0, outputColTypeOverride); 323_transform = CreateLambdaTransform(Host, input, OutputColumnName, InputColumnName, InitFunction, WindowSize > 0, ct); 330Host.Assert(WindowSize >= 0); 339ctx.Writer.Write(WindowSize); 366state.InitState(WindowSize, InitialWindowSize, this, Host);
SlidingWindowTransformBase.cs (6)
88Host.CheckDecode(WindowSize >= 1); 112Host.Assert(WindowSize >= 1); 134int size = _parentSliding.WindowSize - _parentSliding._lag + 1; 156int size = _parentSliding.WindowSize - _parentSliding._lag + 1; 161for (int i = 0; i < _parentSliding.WindowSize; ++i) 163result.Values[_parentSliding.WindowSize] = input;