time-series-foundation-models / lag-llama

Lag-Llama: Towards Foundation Models for Probabilistic Time Series Forecasting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

item_id error

drorhunvural opened this issue · comments

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

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?