Merge branch 'master' of https://github.com/PYFTS/pyFTS
This commit is contained in:
commit
96651d1059
@ -42,6 +42,7 @@ class Retrainer(fts.FTS):
|
||||
self.partitioner = self.partitioner_method(data=data, **self.partitioner_params)
|
||||
self.model = self.fts_method(partitioner=self.partitioner, order=self.order, **self.fts_params)
|
||||
self.model.fit(data, **kwargs)
|
||||
self.shortname = self.model.shortname
|
||||
|
||||
def forecast(self, data, **kwargs):
|
||||
l = len(data)
|
||||
@ -75,4 +76,4 @@ class Retrainer(fts.FTS):
|
||||
|
||||
:return: number of rules
|
||||
"""
|
||||
return len(self.model)
|
||||
return len(self.model)
|
||||
|
Loading…
Reference in New Issue
Block a user