Skip to content

Commit bf440f6

Browse files
committed
fix 1040
1 parent 5409551 commit bf440f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightwood/mixer/sktime.py

+3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ def __init__(
6969
:param use_stl: Whether to use de-trenders and de-seasonalizers fitted in the timeseries analysis phase.
7070
""" # noqa
7171
super().__init__(stop_after)
72+
73+
assert ts_analysis['tss'].horizon > 1, log.error("Horizon must be greater than 1 when using the SkTime Mixer!")
74+
7275
self.stable = False
7376
self.prepared = False
7477
self.supports_proba = False

0 commit comments

Comments
 (0)