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