Commit 9b9418d2 authored by Fotis Paraskevopoulos's avatar Fotis Paraskevopoulos
Browse files

Making fixes to exponetial smoothing

parent cb5362b3
prediction_configuration.docker.properties
default_application.csv
...@@ -180,12 +180,11 @@ def calculate_and_publish_predictions(prediction_horizon,maximum_time_required_f ...@@ -180,12 +180,11 @@ def calculate_and_publish_predictions(prediction_horizon,maximum_time_required_f
"level": 3, "level": 3,
"timestamp": current_time, "timestamp": current_time,
"probability": 0.95, "probability": 0.95,
"confidence_interval": str(prediction[attribute].lower_confidence_interval_value) + "," + str( "confidence_interval": [float(prediction[attribute].lower_confidence_interval_value) , float(prediction[attribute].upper_confidence_interval_value)],
prediction[attribute].upper_confidence_interval_value),
"predictionTime": int(State.next_prediction_time), "predictionTime": int(State.next_prediction_time),
"refersTo": "Undefined",#"MySQL_12345", "refersTo": "todo",
"cloud": "Undefined",#"AWS-Dublin", "cloud": "todo",
"provider": "Undefined",#"AWS" "provider": "todo",
} }
training_events_message_body = { training_events_message_body = {
"metrics": State.metrics_to_predict, "metrics": State.metrics_to_predict,
......
Supports Markdown
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