Share via


UnivariateDetectionOptions(IEnumerable<TimeSeriesPoint>) Constructor

Definition

Initializes a new instance of UnivariateDetectionOptions.

public UnivariateDetectionOptions (System.Collections.Generic.IEnumerable<Azure.AI.AnomalyDetector.TimeSeriesPoint> series);
new Azure.AI.AnomalyDetector.UnivariateDetectionOptions : seq<Azure.AI.AnomalyDetector.TimeSeriesPoint> -> Azure.AI.AnomalyDetector.UnivariateDetectionOptions
Public Sub New (series As IEnumerable(Of TimeSeriesPoint))

Parameters

series
IEnumerable<TimeSeriesPoint>

Time series data points. Points should be sorted by time stamp in ascending order to match the anomaly detection result. If the data is not sorted correctly or there's a duplicated time stamp, the API won't work. In such a case, an error message is returned.

Exceptions

series is null.

Applies to