com.yahoo.egads.control
Class AnomalyDetector
- java.lang.Object
-
- com.yahoo.egads.control.AnomalyDetector
-
public class AnomalyDetector extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description AnomalyDetector(java.lang.String theMetric, long period)AnomalyDetector(TimeSeries theMetric, long period)AnomalyDetector(TimeSeries theMetric, long period, long firstTimeStamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddModel(AnomalyDetectionModel model)java.util.ArrayList<Anomaly>detect(TimeSeries observedSeries, TimeSeries.DataSequence expectedSeries)voidreset()voidsetMetric(java.lang.String theMetric, long period)voidsetMetric(TimeSeries theMetric, long period)voidsetMetric(TimeSeries theMetric, long period, long firstTimeStamp)voidtune(TimeSeries.DataSequence expectedValues, Anomaly.IntervalSequence anomalySequence)
-
-
-
Constructor Detail
-
AnomalyDetector
public AnomalyDetector(TimeSeries theMetric, long period, long firstTimeStamp) throws java.lang.Exception
- Throws:
java.lang.Exception
-
AnomalyDetector
public AnomalyDetector(TimeSeries theMetric, long period) throws java.lang.Exception
- Throws:
java.lang.Exception
-
AnomalyDetector
public AnomalyDetector(java.lang.String theMetric, long period) throws java.lang.Exception- Throws:
java.lang.Exception
-
-
Method Detail
-
setMetric
public void setMetric(TimeSeries theMetric, long period)
-
setMetric
public void setMetric(TimeSeries theMetric, long period, long firstTimeStamp)
-
setMetric
public void setMetric(java.lang.String theMetric, long period)
-
addModel
public void addModel(AnomalyDetectionModel model)
-
reset
public void reset()
-
tune
public void tune(TimeSeries.DataSequence expectedValues, Anomaly.IntervalSequence anomalySequence) throws java.lang.Exception
- Throws:
java.lang.Exception
-
detect
public java.util.ArrayList<Anomaly> detect(TimeSeries observedSeries, TimeSeries.DataSequence expectedSeries) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
DataMelt 3.0 © DataMelt by jWork.ORG