From 4e0ee7cdd9fc9a8ac9170c0c3496536ef0378cb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=C3=B4nio=20C=C3=A2ndido=20de=20Lima=20e=20Silva?= Date: Fri, 26 May 2023 14:44:46 -0300 Subject: [PATCH] Update wmvfts.py --- pyFTS/models/multivariate/wmvfts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyFTS/models/multivariate/wmvfts.py b/pyFTS/models/multivariate/wmvfts.py index cc7a5b3..c34ddff 100644 --- a/pyFTS/models/multivariate/wmvfts.py +++ b/pyFTS/models/multivariate/wmvfts.py @@ -69,7 +69,7 @@ class WeightedMVFTS(mvfts.MVFTS): self.shortname = "WeightedMVFTS" self.name = "Weighted Multivariate FTS" self.has_classification = True - self.class_weigths : dict = kwargs.get("class_weights", {}) + self.class_weights : dict = kwargs.get("class_weights", {}) def generate_flrg(self, flrs): @@ -102,7 +102,7 @@ class WeightedMVFTS(mvfts.MVFTS): for k,v in _flrg.RHS.items(): classification[k] += (v / _flrg.count) * mb - classification = activation(classification, self.class_weigths) + classification = activation(classification, self.class_weights) ret.append(classification)