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.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 = self.fts_method(partitioner=self.partitioner, order=self.order, **self.fts_params)
|
||||||
self.model.fit(data, **kwargs)
|
self.model.fit(data, **kwargs)
|
||||||
|
self.shortname = self.model.shortname
|
||||||
|
|
||||||
def forecast(self, data, **kwargs):
|
def forecast(self, data, **kwargs):
|
||||||
l = len(data)
|
l = len(data)
|
||||||
|
Loading…
Reference in New Issue
Block a user