2 writes to ThresholdScore
Microsoft.ML.TimeSeries (2)
SequentialAnomalyDetectionTransformBase.cs (2)
184ThresholdScore = alertingScore; 216ThresholdScore = (AlertingScore)temp;
21 references to ThresholdScore
Microsoft.ML.TimeSeries (21)
IidChangePointDetector.cs (2)
164InternalTransform.Host.CheckDecode(InternalTransform.ThresholdScore == AlertingScore.MartingaleScore); 179InternalTransform.Host.Assert(InternalTransform.ThresholdScore == AlertingScore.MartingaleScore);
IidSpikeDetector.cs (2)
146InternalTransform.Host.CheckDecode(InternalTransform.ThresholdScore == AlertingScore.PValueScore); 160InternalTransform.Host.Assert(InternalTransform.ThresholdScore == AlertingScore.PValueScore);
SequentialAnomalyDetectionTransformBase.cs (13)
189OutputLength = GetOutputLength(ThresholdScore, Host); 218Host.CheckDecode(Martingale != MartingaleType.None || ThresholdScore != AlertingScore.MartingaleScore); 219Host.CheckDecode(WindowSize > 0 || ThresholdScore == AlertingScore.RawScore); 230Host.CheckDecode(ThresholdScore != AlertingScore.PValueScore || (0 <= AlertThreshold && AlertThreshold <= 1)); 232OutputLength = GetOutputLength(ThresholdScore, Host); 241Host.Assert(Enum.IsDefined(typeof(AlertingScore), ThresholdScore)); 242Host.Assert(Martingale != MartingaleType.None || ThresholdScore != AlertingScore.MartingaleScore); 243Host.Assert(WindowSize > 0 || ThresholdScore == AlertingScore.RawScore); 247Host.Assert(ThresholdScore != AlertingScore.PValueScore || (0 <= AlertThreshold && AlertThreshold <= 1)); 259ctx.Writer.Write((byte)ThresholdScore); 544if (Parent.ThresholdScore == AlertingScore.RawScore) 587if (Parent.Martingale != MartingaleType.None && Parent.ThresholdScore == AlertingScore.MartingaleScore) 624switch (Parent.ThresholdScore)
SsaChangePointDetector.cs (2)
174InternalTransform.Host.CheckDecode(InternalTransform.ThresholdScore == AlertingScore.MartingaleScore); 186InternalTransform.Host.Assert(InternalTransform.ThresholdScore == AlertingScore.MartingaleScore);
SsaSpikeDetector.cs (2)
157InternalTransform.Host.CheckDecode(InternalTransform.ThresholdScore == AlertingScore.PValueScore); 168InternalTransform.Host.Assert(InternalTransform.ThresholdScore == AlertingScore.PValueScore);