Bugfix in hwang
This commit is contained in:
parent
043c28d480
commit
fd9b823d8e
@ -20,6 +20,10 @@ class HighOrderFTS(fts.FTS):
|
|||||||
|
|
||||||
def forecast(self, ndata, **kwargs):
|
def forecast(self, ndata, **kwargs):
|
||||||
|
|
||||||
|
if 'order' in kwargs:
|
||||||
|
self.order = kwargs.get('order',self.order)
|
||||||
|
self.max_lag = self.order
|
||||||
|
|
||||||
if self.sets == None:
|
if self.sets == None:
|
||||||
self.sets = self.partitioner.sets
|
self.sets = self.partitioner.sets
|
||||||
ordered_sets = self.partitioner.ordered_sets
|
ordered_sets = self.partitioner.ordered_sets
|
||||||
|
Loading…
Reference in New Issue
Block a user