8 writes to AlertThreshold
Microsoft.ML.TimeSeries (8)
IidChangePointDetector.cs (3)
124InternalTransform.AlertThreshold = Double.MaxValue; 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));
SequentialAnomalyDetectionTransformBase.cs (2)
188AlertThreshold = alertThreshold; 228AlertThreshold = ctx.Reader.ReadDouble();
SsaChangePointDetector.cs (3)
134InternalTransform.AlertThreshold = Double.MaxValue; 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));
12 references to AlertThreshold
Microsoft.ML.TimeSeries (12)
IidChangePointDetector.cs (1)
86AlertThreshold = transform.InternalTransform.AlertThreshold;
IidSpikeDetector.cs (1)
79AlertThreshold = transform.InternalTransform.AlertThreshold;
SequentialAnomalyDetectionTransformBase.cs (10)
229Host.CheckDecode(AlertThreshold >= 0); 230Host.CheckDecode(ThresholdScore != AlertingScore.PValueScore || (0 <= AlertThreshold && AlertThreshold <= 1)); 246Host.Assert(AlertThreshold >= 0); 247Host.Assert(ThresholdScore != AlertingScore.PValueScore || (0 <= AlertThreshold && AlertThreshold <= 1)); 262ctx.Writer.Write(AlertThreshold); 627alert = rawScore >= Parent.AlertThreshold; 630alert = result.Values[2] <= Parent.AlertThreshold; 633alert = (Parent.Martingale != MartingaleType.None) && (result.Values[3] >= Parent.AlertThreshold);