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);
... ...
}