com.intel.analytics.zoo.models.anomalydetection
The factory method to create an anomaly detector for single time series
The factory method to create an anomaly detector for single time series
Numeric type of parameter(e.g. weight, bias). Only support float/double now.
The input shape of features.
Units of hidden layers of LSTM.
Fraction of the input units to drop out. Float between 0 and 1.
Compare predictions and truth to detect anomalies by ranking the absolute differences.
Compare predictions and truth to detect anomalies by ranking the absolute differences. Most distant values are considered as anomalies.
Truth to be compared
Predictions
Float. The threshold of absolute difference, data points with a difference above the threshold is considered as anomalies.
RDD[(yTruth, yPredict, anomaly)], anomaly is null or yTruth
Compare predictions and truth to detect anomalies by ranking the absolute differences。 Most distant values are considered as anomalies.
Compare predictions and truth to detect anomalies by ranking the absolute differences。 Most distant values are considered as anomalies.
RDD[T]. Truth to be compared
RDD[T]. Predictions
Int. The size to be considered as anomalies.
Load an existing AnomalyDetector model (with weights).
Load an existing AnomalyDetector model (with weights).
Numeric type of parameter(e.g. weight, bias). Only support float/double now.
The path for the pre-defined model. Local file system, HDFS and Amazon S3 are supported. HDFS path should be like "hdfs://[host]:[port]/xxx". Amazon S3 path should be like "s3a://bucket/xxx".
The path for pre-trained weights if any. Default is null.
Unroll a rdd of arrays to prepare features and labels.
Unroll a rdd of arrays to prepare features and labels.
RDD[Array[T]]. Features to be unrolled.
Int. The length of precious values to predict future value.
Int. how many time steps to predict future value, default is 1. a simple example data: (1,2,3,4,5,6); unrollLength: 2, predictStep: 1 features, label, index (1,2), 3, 0 (2,3), 4, 1 (3,4), 5, 2 (4,5), 6, 3