Update prediction_length_map
#7
by
aditya-agrawal-ikigai
- opened
- monash_tsf.py +4 -0
monash_tsf.py
CHANGED
@@ -473,11 +473,15 @@ class MonashTSF(datasets.GeneratorBasedBuilder):
|
|
473 |
if forecast_horizon is None:
|
474 |
prediction_length_map = {
|
475 |
"S": 60,
|
|
|
476 |
"T": 60,
|
|
|
477 |
"H": 48,
|
|
|
478 |
"D": 30,
|
479 |
"W": 8,
|
480 |
"M": 12,
|
|
|
481 |
"Y": 4,
|
482 |
}
|
483 |
freq = frequency_converter(frequency)
|
|
|
473 |
if forecast_horizon is None:
|
474 |
prediction_length_map = {
|
475 |
"S": 60,
|
476 |
+
"s": 60,
|
477 |
"T": 60,
|
478 |
+
"min": 60,
|
479 |
"H": 48,
|
480 |
+
"h": 48,
|
481 |
"D": 30,
|
482 |
"W": 8,
|
483 |
"M": 12,
|
484 |
+
"ME": 12,
|
485 |
"Y": 4,
|
486 |
}
|
487 |
freq = frequency_converter(frequency)
|