You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is bug or feature. While using datasets with several item_ids (strings) one pre each time series on the train step i can't find item ids in targets and forecasts after make_evaluation_predictions. Predictions for different time series marked by numbers [0, series number). But the order of this numeration is unclear as well as why we even introduce item_ids on the earlier stages of data processing if we lost them on inference.
Now when i look at forecasts the begining of data structure is [gluonts.model.forecast.SampleForecast(info=None, item_id=None, samples=array([[[ ........
So item_id=None
Comparing data in original dataset with targets and forecasts i could guess items are enumerated in order of sorted(set(normal_test_df.item_id)).
Is there a way to incorporate item_ids as part of the trained model and use them on inference in make_evaluation_predictions and evaluator results instead of serial number? Right now i have to save model and sorted(set(normal_test_df.item_id)) as two separate objects to use 'em on inference.
The text was updated successfully, but these errors were encountered:
Description
Not sure if this is bug or feature. While using datasets with several item_ids (strings) one pre each time series on the train step i can't find item ids in targets and forecasts after make_evaluation_predictions. Predictions for different time series marked by numbers [0, series number). But the order of this numeration is unclear as well as why we even introduce item_ids on the earlier stages of data processing if we lost them on inference.
Now when i look at
forecasts
the begining of data structure is[gluonts.model.forecast.SampleForecast(info=None, item_id=None, samples=array([[[ ........
So item_id=None
Comparing data in original dataset with targets and forecasts i could guess items are enumerated in order of
sorted(set(normal_test_df.item_id))
.Is there a way to incorporate item_ids as part of the trained model and use them on inference in
make_evaluation_predictions
andevaluator
results instead of serial number? Right now i have to save model andsorted(set(normal_test_df.item_id))
as two separate objects to use 'em on inference.The text was updated successfully, but these errors were encountered: