yahoo / egads

A Java package to automatically detect anomalies in large scale time-series data
Other
1.17k stars 331 forks source link

getAnomalyList() and result() methods of DetectAnomalyProcessable class can only get anomalies of one time series #44

Open hapownli opened 7 years ago

hapownli commented 7 years ago
   public ArrayList<Anomaly> getAnomalyList() {
           return anomalyList;
    }

    // For each model's prediction in the ModelAdapter
    for (TimeSeries.DataSequence ds : list) {
             ... ...
            // Detecting anomalies for each anomaly detection model in anomaly detector
           anomalyList = ad.detect(ad.metric, ds);
           ... ...
      }