Skip to content

Commit 62757b1

Browse files
Update autoPyTorch/datasets/time_series_dataset.py
Co-authored-by: Ravin Kohli <13005107+ravinkohli@users.noreply.github.com>
1 parent ee2ff5c commit 62757b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoPyTorch/datasets/time_series_dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -699,8 +699,8 @@ def __init__(self,
699699
valid_splits.append(split)
700700

701701
if len(valid_splits) == 0:
702-
raise ValueError('The forecasting horizon setting is unsuited for the Current dataset, please '
703-
'considering reducing n_prediction_steps')
702+
raise ValueError(f'The passed value for {n_prediction_steps} is unsuited for the current dataset, please '
703+
'consider reducing n_prediction_steps')
704704

705705
self.splits = valid_splits
706706

0 commit comments

Comments
 (0)