diff --git a/pyFTS/models/incremental/IncrementalEnsemble.py b/pyFTS/models/incremental/IncrementalEnsemble.py index fd029b6..6985f84 100644 --- a/pyFTS/models/incremental/IncrementalEnsemble.py +++ b/pyFTS/models/incremental/IncrementalEnsemble.py @@ -45,7 +45,7 @@ class IncrementalEnsembleFTS(ensemble.EnsembleFTS): self.is_high_order = True self.uod_clip = False - self.max_lag = self.window_length + self.max_lag + self.max_lag = self.window_length + self.order def train(self, data, **kwargs):