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
electricity_nips appears to contain a misaligned test entry for feat_static_cat == 40. This breaks MultivariateGrouper when the dataset is used as a 370-dimensional multivariate dataset.
The dataset metadata says there are 370 time series:
freq = h
prediction_length = 24
feat_static_cat cardinality = 370
The test split has 2590 entries, which looks like:
370 series x 7 rolling test windows = 2590 entries
However, each 370-entry test block contains 369 normally aligned series plus one misaligned entry for category 40.
ValueError: all the input array dimensions except for the concatenation axis must match exactly,
but along dimension 1, the array at index 0 has size 4000 and the array at index 370 has size 4024
In our direct inspection, the underlying issue is that category 40 is not aligned with the other 369 categories in the seven rolling test windows.
Expected Behavior
For electricity_nips, each rolling test block should have 370 aligned series, e.g. one common start timestamp and compatible target lengths per block:
The same issue was also observed with a locally downloaded copy of electricity_nips.
Question
Is this an expected quirk of electricity_nips, or should the repository data / materialization logic align category 40 with the other 369 series? If it is expected, what is the recommended way to use electricity_nips with MultivariateGrouper for multivariate probabilistic forecasting benchmarks?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
TLDR
electricity_nipsappears to contain a misaligned test entry forfeat_static_cat == 40. This breaksMultivariateGrouperwhen the dataset is used as a 370-dimensional multivariate dataset.The dataset metadata says there are 370 time series:
The test split has 2590 entries, which looks like:
However, each 370-entry test block contains 369 normally aligned series plus one misaligned entry for category 40.
Minimal Reproduction
Observed Output
Freshly materialized GluonTS data gives:
Consequence
When downstream code uses
MultivariateGrouper:it fails with:
In our direct inspection, the underlying issue is that category 40 is not aligned with the other 369 categories in the seven rolling test windows.
Expected Behavior
For
electricity_nips, each rolling test block should have 370 aligned series, e.g. one common start timestamp and compatible target lengths per block:Environment
Observed with:
The same issue was also observed with a locally downloaded copy of
electricity_nips.Question
Is this an expected quirk of
electricity_nips, or should the repository data / materialization logic align category 40 with the other 369 series? If it is expected, what is the recommended way to useelectricity_nipswithMultivariateGrouperfor multivariate probabilistic forecasting benchmarks?All reactions