How to inference just one item_id #3126
Unanswered
Alex-Wenner-FHR
asked this question in
Q&A
Replies: 2 comments
-
@lostella - tagging you because I see you are active in issues and discussions! 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
-
It appears, that when using the same dataset spec with my subset, the other categories are still represented for whatever reason. for iter in ds_val._data_entries.iterable.iterable:
print(iter) [0 rows x 24 columns])
('cat2', Empty DataFrame
Columns: [...]
Index: []
[0 rows x 24 columns])
('cat3', Empty DataFrame
Columns: [...]
Index: [] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using:
I have a
TemporalFusionTransformer
that was trained with aPandasDataset.from_long_dataframe(...)
. In this PandasDataset I have multipleitem_ids
This dataset includes several past_feat_dynamic_reals and a few static_features.
I want to predict on just one category. However when I do something like
I get the following error:
Does anyone have any ideas on how one item at a time can be inferenced instead of having to pass multiple items in a dataset at once? The shape of this subset is the exact same as the training shape along with dtypes.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions