Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

item_id error #54

Open
drorhunvural opened this issue Apr 21, 2024 · 1 comment
Open

item_id error #54

drorhunvural opened this issue Apr 21, 2024 · 1 comment

Comments

@drorhunvural
Copy link

drorhunvural commented Apr 21, 2024

Hi,

I am running Colab Demo 1 using my own dataset, which is structured on an hourly basis, similar to the one shown below.

image

I'm trying to predict "count." Since my dataset doesn't contain multiple series, I believe I don't need an item_id, right?

If that's the case, how can I omit the item_id in the code below, as I'm encountering an error related to it?

dataset = PandasDataset.from_long_dataframe(df, target="count")

Error

image

@ashok-arjun
Copy link
Contributor

Hi,

This is an issue with the GluonTS class itself; it needs an item_id nevertheless, even if it's just one series. Can you try adding an item_id column in your dataset, with a random value for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants