6 writes to DetectMode
Microsoft.ML.TimeSeries (1)
ExtensionsCatalog.cs (1)
293
DetectMode
= detectMode,
Microsoft.ML.TimeSeries.Tests (5)
TimeSeriesDirectApi.cs (5)
698
DetectMode
= SrCnnDetectMode.AnomalyAndMargin,
745
DetectMode
= mode,
800
DetectMode
= SrCnnDetectMode.AnomalyAndMargin,
859
DetectMode
= SrCnnDetectMode.AnomalyAndMargin,
927
DetectMode
= SrCnnDetectMode.AnomalyAndMargin,
6 references to DetectMode
Microsoft.ML.TimeSeries (6)
SrCnnEntireAnomalyDetector.cs (6)
198
_outputLength = _outputLengthArray[(int)options.
DetectMode
];
211
Host.CheckUserArg(options.
DetectMode
== SrCnnDetectMode.AnomalyOnly
212
|| options.
DetectMode
== SrCnnDetectMode.AnomalyAndExpectedValue
213
|| options.
DetectMode
== SrCnnDetectMode.AnomalyAndMargin, nameof(options.
DetectMode
), "Invalid detectMode");
232
=> new Batch(_options.BatchSize, _outputLength, _options.Threshold, _options.Sensitivity, _options.
DetectMode
, _options.Period, _options.DeseasonalityMode);