2 writes to WindowSize
Microsoft.ML.TimeSeries (2)
SequentialTransformerBase.cs (2)
371WindowSize = windowSize; 409WindowSize = windowSize;
27 references to WindowSize
Microsoft.ML.TimeSeries (27)
IidAnomalyDetectionBase.cs (1)
106StateRef.InitState(WindowSize, InitialWindowSize, this, Host);
IidChangePointDetector.cs (3)
82WindowSize = transform.InternalTransform.WindowSize; 127InternalTransform.AlertThreshold = Math.Exp(InternalTransform.WindowSize * InternalTransform.LogPowerMartigaleBettingFunc(1 - options.Confidence / 100, InternalTransform.PowerMartingaleEpsilon)); 130InternalTransform.AlertThreshold = Math.Exp(InternalTransform.WindowSize * InternalTransform.LogMixtureMartigaleBettingFunc(1 - options.Confidence / 100));
IidSpikeDetector.cs (1)
78WindowSize = transform.InternalTransform.WindowSize;
SequentialAnomalyDetectionTransformBase.cs (5)
219Host.CheckDecode(WindowSize > 0 || ThresholdScore == AlertingScore.RawScore); 243Host.Assert(WindowSize > 0 || ThresholdScore == AlertingScore.RawScore); 368ProcessData processData = _parent.WindowSize > 0 ? 401state.UpdateState(ref src, args.RowPosition, _parent.WindowSize > 0); 640_martingaleAlertCounter = Parent.WindowSize;
SequentialForecastingTransformBase.cs (2)
202ProcessData processData = _parent.WindowSize > 0 ? 250state.UpdateState(ref src, args.RowPosition, _parent.WindowSize > 0);
SequentialTransformerBase.cs (4)
421Host.Assert(WindowSize >= 0); 430ctx.Writer.Write(WindowSize); 484_parent.ConfidenceUpperBoundColumn, InitFunction, _parent.WindowSize > 0, _parent.OutputColumnType); 560state.InitState(_parent.WindowSize, _parent.InitialWindowSize, _parent, _parent.Host);
SrCnnAnomalyDetectionBase.cs (2)
96InitialWindowSize = WindowSize; 98StateRef.InitState(WindowSize, InitialWindowSize, this, Host);
SRCNNAnomalyDetector.cs (1)
91WindowSize = transform.InternalTransform.WindowSize;
SrCnnTransformBase.cs (4)
125Host.Assert(WindowSize > 0); 126Host.Assert(InitialWindowSize == WindowSize); 211ProcessData processData = _parent.WindowSize > 0 ? 244state.UpdateState(ref src, args.RowPosition, _parent.WindowSize > 0);
SsaAnomalyDetectionBase.cs (1)
208StateRef.InitState(WindowSize, InitialWindowSize, this, Host);
SsaChangePointDetector.cs (2)
137InternalTransform.AlertThreshold = Math.Exp(InternalTransform.WindowSize * InternalTransform.LogPowerMartigaleBettingFunc(1 - options.Confidence / 100, InternalTransform.PowerMartingaleEpsilon)); 140InternalTransform.AlertThreshold = Math.Exp(InternalTransform.WindowSize * InternalTransform.LogMixtureMartigaleBettingFunc(1 - options.Confidence / 100));
SsaForecastingBase.cs (1)
143StateRef.InitState(WindowSize, InitialWindowSize, this, Host);