diff --git a/lightwood/mixer/sktime.py b/lightwood/mixer/sktime.py index 7ebabcfd9..fc2577afe 100644 --- a/lightwood/mixer/sktime.py +++ b/lightwood/mixer/sktime.py @@ -69,6 +69,9 @@ def __init__( :param use_stl: Whether to use de-trenders and de-seasonalizers fitted in the timeseries analysis phase. """ # noqa super().__init__(stop_after) + + assert ts_analysis['tss'].horizon > 1, log.error("Horizon must be greater than 1 when using the SkTime Mixer!") + self.stable = False self.prepared = False self.supports_proba = False