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
Error:"ValueError: Cannot obtain default prediction length from frequency ME." occured when getting 'cif_2016' dataset.
Error:"ValueError: Cannot obtain default prediction length from frequency min." occured when getting 'london_smart_meters_without_missing' dataset and 'wind_farms_minutely_dataset_without_missing_values' dataset.
To Reproduce
fromgluonts.dataset.repositoryimportget_dataset, dataset_namesprint(f"Available datasets: {dataset_names}")
dataset=get_dataset("cif_2016") # or 'london_smart_meters_without_missing'```
Error message or code output
Environment
Python version: 3.10
GluonTS version: 0.15.1
Could you please help update the prediction_length_map for 'ME' and 'min' in _tsf_datasets.py?
Thanks!
The text was updated successfully, but these errors were encountered:
*Issue #, if available:* fixesawslabs#3229, pandas changes in frequency
strings broke some of our logic.
*Description of changes:* Add missing frequency strings in
_tsf_datasets.py, and get rid of other frequency-related warnings with
other datasets. I tested the change by running the following script:
```python
from gluonts.dataset.repository import get_dataset, dataset_names
skip = [
"m3_monthly",
"m3_yearly",
"m3_quarterly",
"m3_other",
"m5",
]
for dataset_name in dataset_names:
if dataset_name in skip:
continue
print(dataset_name)
dataset = get_dataset(dataset_name, regenerate=True)
```
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
**Please tag this pr with at least one of these labels to make our
release process faster:** BREAKING, new feature, bug fix, other change,
dev setup
Description
Error:"ValueError: Cannot obtain default prediction length from frequency
ME
." occured when getting 'cif_2016' dataset.Error:"ValueError: Cannot obtain default prediction length from frequency
min
." occured when getting 'london_smart_meters_without_missing' dataset and 'wind_farms_minutely_dataset_without_missing_values' dataset.To Reproduce
Error message or code output
Environment
Could you please help update the prediction_length_map for 'ME' and 'min' in _tsf_datasets.py?
Thanks!
The text was updated successfully, but these errors were encountered: