Commit 720de77d authored by Sören Henning's avatar Sören Henning

Changed sample config to ARIMA

parent 4323cae6
......@@ -7,7 +7,7 @@ import com.datastax.driver.core.Cluster;
import com.datastax.driver.core.Session;
import anomalydetection.aggregation.MeanAggregator;
import anomalydetection.forecast.RegressionForecaster;
import anomalydetection.forecast.ARIMAForecaster;
import anomalydetection.storage.CassandraDriver;
import teetime.framework.Configuration;
......@@ -43,7 +43,7 @@ public class AnomalyDetectionConfiguration extends Configuration {
// final AnomalyDetectionStage anomalyDetector = new AnomalyDetectionStage(Duration.ofHours(1), Duration.ofSeconds(5), new MeanAggregator(),new
// RegressionForecaster());
final AnomalyDetectionStage anomalyDetector = new StorableAnomalyDetectionStage(Duration.ofHours(1), Duration.ofSeconds(5), new MeanAggregator(),
new RegressionForecaster(), new CassandraDriver(session, "measurements", "temp"));
new ARIMAForecaster("192.168.99.100", 32777), new CassandraDriver(session, "measurements", "temp2"));
final AlertPrinterStage alerter = new AlertPrinterStage();
final PrinterStage printer = new PrinterStage(); // TODO Temp
final JSONExportStage jsonExporter = new JSONExportStage(new File("values.json")); // TODO Temp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment