41 references to AlertingScore
Microsoft.ML.TimeSeries (41)
IidChangePointDetector.cs (4)
74AlertOn = AlertingScore.MartingaleScore; 85AlertOn = AlertingScore.MartingaleScore; 164InternalTransform.Host.CheckDecode(InternalTransform.ThresholdScore == AlertingScore.MartingaleScore); 179InternalTransform.Host.Assert(InternalTransform.ThresholdScore == AlertingScore.MartingaleScore);
IidSpikeDetector.cs (4)
69AlertOn = AlertingScore.PValueScore; 80AlertOn = AlertingScore.PValueScore; 146InternalTransform.Host.CheckDecode(InternalTransform.ThresholdScore == AlertingScore.PValueScore); 160InternalTransform.Host.Assert(InternalTransform.ThresholdScore == AlertingScore.PValueScore);
SequentialAnomalyDetectionTransformBase.cs (27)
104public AlertingScore AlertOn = AlertingScore.MartingaleScore; 139internal AlertingScore ThresholdScore; 153private static int GetOutputLength(AlertingScore alertingScore, IHostEnvironment host) 157case AlertingScore.RawScore: 159case AlertingScore.PValueScore: 161case AlertingScore.MartingaleScore: 169AnomalySide anomalySide, MartingaleType martingale, AlertingScore alertingScore, Double powerMartingaleEpsilon, 175Host.CheckUserArg(Enum.IsDefined(typeof(AlertingScore), alertingScore), nameof(ArgumentsBase.AlertOn), "Value is undefined."); 176Host.CheckUserArg(martingale != MartingaleType.None || alertingScore != AlertingScore.MartingaleScore, nameof(ArgumentsBase.Martingale), "A martingale type should be specified if alerting is based on the martingale score."); 177Host.CheckUserArg(windowSize > 0 || alertingScore == AlertingScore.RawScore, nameof(ArgumentsBase.AlertOn), 179+ nameof(ArgumentsBase.AlertOn) + " = " + nameof(AlertingScore.RawScore) + ")"); 182Host.CheckUserArg(alertingScore != AlertingScore.PValueScore || (0 <= alertThreshold && alertThreshold <= 1), nameof(ArgumentsBase.AlertThreshold), "Must be in [0,1]."); 215Host.CheckDecode(Enum.IsDefined(typeof(AlertingScore), temp)); 216ThresholdScore = (AlertingScore)temp; 218Host.CheckDecode(Martingale != MartingaleType.None || ThresholdScore != AlertingScore.MartingaleScore); 219Host.CheckDecode(WindowSize > 0 || ThresholdScore == AlertingScore.RawScore); 230Host.CheckDecode(ThresholdScore != AlertingScore.PValueScore || (0 <= AlertThreshold && AlertThreshold <= 1)); 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)); 544if (Parent.ThresholdScore == AlertingScore.RawScore) 587if (Parent.Martingale != MartingaleType.None && Parent.ThresholdScore == AlertingScore.MartingaleScore) 626case AlertingScore.RawScore: 629case AlertingScore.PValueScore: 632case AlertingScore.MartingaleScore:
SsaChangePointDetector.cs (3)
86AlertOn = AlertingScore.MartingaleScore; 174InternalTransform.Host.CheckDecode(InternalTransform.ThresholdScore == AlertingScore.MartingaleScore); 186InternalTransform.Host.Assert(InternalTransform.ThresholdScore == AlertingScore.MartingaleScore);
SsaSpikeDetector.cs (3)
81AlertOn = AlertingScore.PValueScore; 157InternalTransform.Host.CheckDecode(InternalTransform.ThresholdScore == AlertingScore.PValueScore); 168InternalTransform.Host.Assert(InternalTransform.ThresholdScore == AlertingScore.PValueScore);