SequentialAnomalyDetectionTransformBase.cs (16)
100public MartingaleType Martingale = MartingaleType.Power;
133internal MartingaleType Martingale;
169AnomalySide anomalySide, MartingaleType martingale, AlertingScore alertingScore, Double powerMartingaleEpsilon,
173Host.CheckUserArg(Enum.IsDefined(typeof(MartingaleType), martingale), nameof(ArgumentsBase.Martingale), "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.");
211Host.CheckDecode(Enum.IsDefined(typeof(MartingaleType), temp));
212Martingale = (MartingaleType)temp;
218Host.CheckDecode(Martingale != MartingaleType.None || ThresholdScore != AlertingScore.MartingaleScore);
240Host.Assert(Enum.IsDefined(typeof(MartingaleType), Martingale));
242Host.Assert(Martingale != MartingaleType.None || ThresholdScore != AlertingScore.MartingaleScore);
587if (Parent.Martingale != MartingaleType.None && Parent.ThresholdScore == AlertingScore.MartingaleScore)
592case MartingaleType.Power:
596case MartingaleType.Mixture:
633alert = (Parent.Martingale != MartingaleType.None) && (result.Values[3] >= Parent.AlertThreshold);
662if (Parent.Martingale != MartingaleType.None)
SsaChangePointDetector.cs (9)
67public MartingaleType Martingale = MartingaleType.Power;
133case MartingaleType.None:
136case MartingaleType.Power:
139case MartingaleType.Mixture:
143InternalTransform.Host.Assert(!Enum.IsDefined(typeof(MartingaleType), InternalTransform.Martingale));
229/// <seealso cref="Microsoft.ML.TimeSeriesCatalog.DetectChangePointBySsa(Microsoft.ML.TransformsCatalog,System.String,System.String,System.Double,System.Int32,System.Int32,System.Int32,Microsoft.ML.Transforms.TimeSeries.ErrorFunction,Microsoft.ML.Transforms.TimeSeries.MartingaleType,System.Double)" />
256MartingaleType martingale = MartingaleType.Power,