6 writes to DetectMode
Microsoft.ML.TimeSeries (1)
ExtensionsCatalog.cs (1)
293DetectMode = detectMode,
Microsoft.ML.TimeSeries.Tests (5)
TimeSeriesDirectApi.cs (5)
698DetectMode = SrCnnDetectMode.AnomalyAndMargin, 745DetectMode = mode, 800DetectMode = SrCnnDetectMode.AnomalyAndMargin, 859DetectMode = SrCnnDetectMode.AnomalyAndMargin, 927DetectMode = SrCnnDetectMode.AnomalyAndMargin,
6 references to DetectMode
Microsoft.ML.TimeSeries (6)
SrCnnEntireAnomalyDetector.cs (6)
198_outputLength = _outputLengthArray[(int)options.DetectMode]; 211Host.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);