Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Melodic
morphemic-preprocessor
Commits
9b9418d2
Commit
9b9418d2
authored
May 31, 2022
by
Fotis Paraskevopoulos
Browse files
Making fixes to exponetial smoothing
parent
cb5362b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
morphemic-forecasting-exponentialsmoothing/.gitignore
0 → 100644
View file @
9b9418d2
prediction_configuration.docker.properties
default_application.csv
morphemic-forecasting-exponentialsmoothing/src/runtime/Predictor.py
View file @
9b9418d2
...
...
@@ -180,12 +180,11 @@ def calculate_and_publish_predictions(prediction_horizon,maximum_time_required_f
"level"
:
3
,
"timestamp"
:
current_time
,
"probability"
:
0.95
,
"confidence_interval"
:
str
(
prediction
[
attribute
].
lower_confidence_interval_value
)
+
","
+
str
(
prediction
[
attribute
].
upper_confidence_interval_value
),
"confidence_interval"
:
[
float
(
prediction
[
attribute
].
lower_confidence_interval_value
)
,
float
(
prediction
[
attribute
].
upper_confidence_interval_value
)],
"predictionTime"
:
int
(
State
.
next_prediction_time
),
"refersTo"
:
"
Undefined"
,
#"MySQL_12345
",
"cloud"
:
"
Undefined"
,
#"AWS-Dublin
",
"provider"
:
"
Undefined"
,
#"AWS"
"refersTo"
:
"
todo
"
,
"cloud"
:
"
todo
"
,
"provider"
:
"
todo"
,
}
training_events_message_body
=
{
"metrics"
:
State
.
metrics_to_predict
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment