From 8e82d2974a033ae46a84553a191e90f128b889bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=C3=B4nio=20C=C3=A2ndido=20de=20Lima=20e=20Silva?= Date: Sun, 17 Nov 2019 15:54:01 -0300 Subject: [PATCH 1/2] Update TimeVariant.py --- pyFTS/models/incremental/TimeVariant.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyFTS/models/incremental/TimeVariant.py b/pyFTS/models/incremental/TimeVariant.py index 4925727..49b2098 100644 --- a/pyFTS/models/incremental/TimeVariant.py +++ b/pyFTS/models/incremental/TimeVariant.py @@ -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): """ From 9f35a3caea036359257616b5caeac18db7615415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=C3=B4nio=20C=C3=A2ndido=20de=20Lima=20e=20Silva?= Date: Wed, 20 Nov 2019 10:35:04 -0300 Subject: [PATCH 2/2] =?UTF-8?q?Adding=20uod=5Fclip=20=20to=20False=20in=20?= =?UTF-8?q?Na=C3=AFve=20method?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyFTS/benchmarks/naive.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyFTS/benchmarks/naive.py b/pyFTS/benchmarks/naive.py index d2dd86c..a79e0b3 100644 --- a/pyFTS/benchmarks/naive.py +++ b/pyFTS/benchmarks/naive.py @@ -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