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
8dd95e99
Commit
8dd95e99
authored
May 03, 2022
by
Fotis Paraskevopoulos
Browse files
Log when there are not predictions for a single metric
parent
dced0e07
Changes
1
Hide whitespace changes
Inline
Side-by-side
morphemic-forecasting-eshybrid/forecasting/eshybrid.py
View file @
8dd95e99
...
...
@@ -146,10 +146,11 @@ class ESHybrid(morphemic.handler.ModelHandler,messaging.listener.MorphemicListen
m
,
times
)
logging
.
debug
(
"Got metric[%s] predictions %s"
,(
m
,
predictions
))
if
predictions
.
empty
:
logging
.
debug
(
"No prediction available yet for metric[%s]"
,
m
)
continue
logging
.
debug
(
"Got metric[%s] predictions %s"
,(
m
,
predictions
))
for
index
,
row
in
predictions
.
iterrows
():
t
=
row
[
'ds'
]
payload
=
{
...
...
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