UnivariateDetectionOptions Class

Definition

Request of the entire or last anomaly detection.

public class UnivariateDetectionOptions
type UnivariateDetectionOptions = class
Public Class UnivariateDetectionOptions
Inheritance
UnivariateDetectionOptions

Constructors

UnivariateDetectionOptions(IEnumerable<TimeSeriesPoint>)

Initializes a new instance of UnivariateDetectionOptions.

Properties

CustomInterval

A custom interval is used to set a nonstandard time interval. For example, if the series is 5 minutes, the request can be set as {"granularity":"minutely", "customInterval":5}.

Granularity

Argument that indicates time granularity. If granularity is not present, the value is none by default. If granularity is none, the time stamp property in the time series point can be absent.

ImputeFixedValue

Specifies the value to fill. It's used when granularity is not "none" and imputeMode is "fixed".

ImputeMode

Specifies how to deal with missing values in the input series. It's used when granularity is not "none".

MaxAnomalyRatio

Argument that indicates an advanced model parameter. It's the maximum anomaly ratio in a time series.

Period

Argument that indicates the periodic value of a time series. If the value is null or is not present, the API determines the period automatically.

Sensitivity

Argument that indicates an advanced model parameter between 0 and 99. The lower the value is, the larger the margin value is, which means fewer anomalies will be accepted.

Series

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.

Applies to