Merge branch 'master' of https://github.com/PYFTS/pyFTS
This commit is contained in:
commit
2b214e561b
@ -12,6 +12,7 @@ class Naive(fts.FTS):
|
|||||||
self.detail = "Naïve Model"
|
self.detail = "Naïve Model"
|
||||||
self.benchmark_only = True
|
self.benchmark_only = True
|
||||||
self.is_high_order = False
|
self.is_high_order = False
|
||||||
|
self.uod_clip = False
|
||||||
|
|
||||||
def forecast(self, data, **kwargs):
|
def forecast(self, data, **kwargs):
|
||||||
return data
|
return data
|
||||||
|
@ -50,7 +50,7 @@ class Retrainer(fts.FTS):
|
|||||||
self.model.order = self.model = self.fts_method(partitioner=self.partitioner,
|
self.model.order = self.model = self.fts_method(partitioner=self.partitioner,
|
||||||
order=self.order, **self.fts_params)
|
order=self.order, **self.fts_params)
|
||||||
self.model.fit(data, **kwargs)
|
self.model.fit(data, **kwargs)
|
||||||
self.shortname = self.model.shortname
|
self.shortname = "TimeVariant - " + self.model.shortname
|
||||||
|
|
||||||
def forecast(self, data, **kwargs):
|
def forecast(self, data, **kwargs):
|
||||||
l = len(data)
|
l = len(data)
|
||||||
@ -79,7 +79,7 @@ class Retrainer(fts.FTS):
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
"""String representation of the model"""
|
"""String representation of the model"""
|
||||||
|
|
||||||
return str(self.model)
|
return str(this.model)
|
||||||
|
|
||||||
def __len__(self):
|
def __len__(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user