31 references to SrCnnDetectMode
Microsoft.ML.Samples (1)
Dynamic\Transforms\TimeSeries\DetectEntireAnomalyBySrCnn.cs (1)
39threshold: 0.35, batchSize: 512, sensitivity: 90.0, detectMode: SrCnnDetectMode.AnomalyAndMargin);
Microsoft.ML.TimeSeries (15)
ExtensionsCatalog.cs (3)
272/// <param name="detectMode">An enum type of <see cref="SrCnnDetectMode"/>. 286double threshold = 0.3, int batchSize = 1024, double sensitivity = 99, SrCnnDetectMode detectMode = SrCnnDetectMode.AnomalyOnly)
SrCnnEntireAnomalyDetector.cs (12)
73public SrCnnDetectMode DetectMode = Defaults.DetectMode; 88public const SrCnnDetectMode DetectMode = SrCnnDetectMode.AnomalyOnly; 133/// <seealso cref="TimeSeriesCatalog.DetectEntireAnomalyBySrCnn(AnomalyDetectionCatalog, IDataView, string, string, double, int, double, SrCnnDetectMode)"/> 211Host.CheckUserArg(options.DetectMode == SrCnnDetectMode.AnomalyOnly 212|| options.DetectMode == SrCnnDetectMode.AnomalyAndExpectedValue 213|| options.DetectMode == SrCnnDetectMode.AnomalyAndMargin, nameof(options.DetectMode), "Invalid detectMode"); 275public Batch(int batchSize, int outputLength, double threshold, double sensitivity, SrCnnDetectMode detectMode, int period, SrCnnDeseasonalityMode deseasonalityMode) 425private readonly SrCnnDetectMode _detectMode; 458public SrCnnEntireModeler(double threshold, double sensitivity, SrCnnDetectMode detectMode, int period, SrCnnDeseasonalityMode deseasonalityMode) 524if (_detectMode == SrCnnDetectMode.AnomalyAndMargin) 535else if (_detectMode == SrCnnDetectMode.AnomalyAndExpectedValue)
Microsoft.ML.TimeSeries.Tests (15)
TimeSeriesDirectApi.cs (15)
584[CombinatorialValues(SrCnnDetectMode.AnomalyOnly, SrCnnDetectMode.AnomalyAndExpectedValue, SrCnnDetectMode.AnomalyAndMargin)] SrCnnDetectMode mode, 636case SrCnnDetectMode.AnomalyOnly: 643case SrCnnDetectMode.AnomalyAndExpectedValue: 653case SrCnnDetectMode.AnomalyAndMargin: 698DetectMode = SrCnnDetectMode.AnomalyAndMargin, 722[CombinatorialValues(SrCnnDetectMode.AnomalyOnly, SrCnnDetectMode.AnomalyAndExpectedValue, SrCnnDetectMode.AnomalyOnly)] SrCnnDetectMode mode 800DetectMode = SrCnnDetectMode.AnomalyAndMargin, 859DetectMode = SrCnnDetectMode.AnomalyAndMargin, 927DetectMode = SrCnnDetectMode.AnomalyAndMargin,