Object/Class

com.intel.analytics.zoo.models.anomalydetection

AnomalyDetector

Related Docs: class AnomalyDetector | package anomalydetection

Permalink

object AnomalyDetector extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnomalyDetector
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[T](featureShape: Shape, hiddenLayers: Array[Int] = Array(8, 32, 15), dropouts: Array[Double] = Array(0.2, 0.2, 0.2))(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): AnomalyDetector[T]

    Permalink

    The factory method to create an anomaly detector for single time series

    The factory method to create an anomaly detector for single time series

    T

    Numeric type of parameter(e.g. weight, bias). Only support float/double now.

    featureShape

    The input shape of features.

    hiddenLayers

    Units of hidden layers of LSTM.

    dropouts

    Fraction of the input units to drop out. Float between 0 and 1.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def detectAnomalies[T](yTruth: RDD[T], yPredict: RDD[T], threshold: Float)(implicit arg0: ClassTag[T]): RDD[(T, T, Any)]

    Permalink

    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.

    yTruth

    Truth to be compared

    yPredict

    Predictions

    threshold

    Float. The threshold of absolute difference, data points with a difference above the threshold is considered as anomalies.

    returns

    RDD[(yTruth, yPredict, anomaly)], anomaly is null or yTruth

  8. def detectAnomalies[T](yTruth: RDD[T], yPredict: RDD[T], anomalySize: Int = 5)(implicit arg0: ClassTag[T]): RDD[(T, T, Any)]

    Permalink

    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.

    yTruth

    RDD[T]. Truth to be compared

    yPredict

    RDD[T]. Predictions

    anomalySize

    Int. The size to be considered as anomalies.

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def loadModel[T](path: String, weightPath: String = null)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): AnomalyDetector[T]

    Permalink

    Load an existing AnomalyDetector model (with weights).

    Load an existing AnomalyDetector model (with weights).

    T

    Numeric type of parameter(e.g. weight, bias). Only support float/double now.

    path

    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".

    weightPath

    The path for pre-trained weights if any. Default is null.

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toSampleRdd[T](rdd: RDD[FeatureLabelIndex[T]])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): RDD[Sample[T]]

    Permalink
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. def unroll[T](dataRdd: RDD[Array[T]], unrollLength: Int, predictStep: Int = 1)(implicit arg0: ClassTag[T]): RDD[FeatureLabelIndex[T]]

    Permalink

    Unroll a rdd of arrays to prepare features and labels.

    Unroll a rdd of arrays to prepare features and labels.

    dataRdd

    RDD[Array[T]]. Features to be unrolled.

    unrollLength

    Int. The length of precious values to predict future value.

    predictStep

    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

  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped