Skip to content
GitLab
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
2bd0d728
Commit
2bd0d728
authored
Jun 27, 2022
by
mriedl
Browse files
fixed time of the rpediction when PO saves to influx
parent
778df4a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
prediction_orchestrator/src/main/java/eu/morphemic/prediction_orchestrator/model/Prediction.java
View file @
2bd0d728
...
...
@@ -49,7 +49,7 @@ public class Prediction {
public
Point
getAsPoint
(
String
metricName
,
String
methodName
)
{
return
Point
.
measurement
(
metricName
+
"Predictions"
)
.
time
(
timestamp
,
TimeUnit
.
SECONDS
)
.
time
(
predictionTime
,
TimeUnit
.
SECONDS
)
.
addField
(
methodName
+
"_value"
,
metricValue
)
.
addField
(
methodName
+
"_probability"
,
probability
)
.
addField
(
methodName
+
"_left_conf"
,
confidence_interval
.
get
(
0
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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