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] 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): """