This commit is contained in:
Petrônio Cândido 2019-11-26 23:55:39 -03:00
commit 2b214e561b
2 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@ class Naive(fts.FTS):
self.detail = "Naïve Model"
self.benchmark_only = True
self.is_high_order = False
self.uod_clip = False
def forecast(self, data, **kwargs):
return data

View File

@ -50,7 +50,7 @@ class Retrainer(fts.FTS):
self.model.order = self.model = self.fts_method(partitioner=self.partitioner,
order=self.order, **self.fts_params)
self.model.fit(data, **kwargs)
self.shortname = self.model.shortname
self.shortname = "TimeVariant - " + self.model.shortname
def forecast(self, data, **kwargs):
l = len(data)
@ -79,7 +79,7 @@ class Retrainer(fts.FTS):
def __str__(self):
"""String representation of the model"""
return str(self.model)
return str(this.model)
def __len__(self):
"""