Skip to content

Commit b9999c1

Browse files
authored
Update forecast_datasets.py (#923)
2 parents f8acd71 + 0b43f62 commit b9999c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/opctl/operator/lowcode/forecast/model/forecast_datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __init__(self, spec, historical_data):
6868
add_dates.sort()
6969
if historical_data.get_max_time() > add_dates[-spec.horizon]:
7070
raise DataMismatchError(
71-
f"The Historical Data ends on {historical_data.get_max_time()}. The additional data horizon starts on {add_dates[-spec.horizon]}. The horizon should have exactly {spec.horizon} dates after the Hisotrical at a frequency of {historical_data.freq}"
71+
f"The Historical Data ends on {historical_data.get_max_time()}. The additional data horizon starts on {add_dates[-spec.horizon]}. The horizon should have exactly {spec.horizon} dates after the Historical at a frequency of {historical_data.freq}"
7272
)
7373
elif historical_data.get_max_time() != add_dates[-(spec.horizon + 1)]:
7474
raise DataMismatchError(

0 commit comments

Comments
 (0)