diff --git a/docs/build/doctrees/environment.pickle b/docs/build/doctrees/environment.pickle index f7e04f0..99d8305 100644 Binary files a/docs/build/doctrees/environment.pickle and b/docs/build/doctrees/environment.pickle differ diff --git a/pyFTS/models/chen.py b/pyFTS/models/chen.py index e53be8d..9f70968 100644 --- a/pyFTS/models/chen.py +++ b/pyFTS/models/chen.py @@ -50,7 +50,7 @@ class ConventionalFTS(fts.FTS): def train(self, data, **kwargs): - tmpdata = FuzzySet.fuzzyfy(data, partitioner=self.partitioner, method='maximum', mode='sets') + tmpdata = self.partitioner.fuzzyfy(data, method='maximum', mode='sets') flrs = FLR.generate_non_recurrent_flrs(tmpdata) self.generate_flrg(flrs) diff --git a/pyFTS/models/ismailefendi.py b/pyFTS/models/ismailefendi.py index 195af58..237a973 100644 --- a/pyFTS/models/ismailefendi.py +++ b/pyFTS/models/ismailefendi.py @@ -63,7 +63,7 @@ class ImprovedWeightedFTS(fts.FTS): def train(self, ndata, **kwargs): - tmpdata = FuzzySet.fuzzyfy(ndata, partitioner=self.partitioner, method='maximum', mode='sets') + tmpdata = self.partitioner.fuzzyfy(ndata, method='maximum', mode='sets') flrs = FLR.generate_recurrent_flrs(tmpdata) self.generate_flrg(flrs) diff --git a/pyFTS/models/sadaei.py b/pyFTS/models/sadaei.py index 8d5cc31..baca8e9 100644 --- a/pyFTS/models/sadaei.py +++ b/pyFTS/models/sadaei.py @@ -67,7 +67,7 @@ class ExponentialyWeightedFTS(fts.FTS): self.flrgs[flr.LHS].append_rhs(flr.RHS) def train(self, data, **kwargs): - tmpdata = FuzzySet.fuzzyfy(data, partitioner=self.partitioner, method='maximum', mode='sets') + tmpdata = self.partitioner.fuzzyfy(data, method='maximum', mode='sets') flrs = FLR.generate_recurrent_flrs(tmpdata) self.generate_flrg(flrs, self.c) diff --git a/pyFTS/models/song.py b/pyFTS/models/song.py index 874c67f..1776e8c 100644 --- a/pyFTS/models/song.py +++ b/pyFTS/models/song.py @@ -50,7 +50,7 @@ class ConventionalFTS(fts.FTS): def train(self, data, **kwargs): - tmpdata = FuzzySet.fuzzyfy(data, partitioner=self.partitioner, method='maximum', mode='sets') + tmpdata = self.partitioner.fuzzyfy(data, method='maximum', mode='sets') flrs = FLR.generate_non_recurrent_flrs(tmpdata) self.operation_matrix(flrs) diff --git a/pyFTS/models/tsaur.py b/pyFTS/models/tsaur.py index 539d1cd..7d3535f 100644 --- a/pyFTS/models/tsaur.py +++ b/pyFTS/models/tsaur.py @@ -68,7 +68,7 @@ class MarkovWeightedFTS(fts.FTS): self.flrgs[flr.LHS].append_rhs(flr.RHS) def train(self, data, **kwargs): - tmpdata = FuzzySet.fuzzyfy(data, partitioner=self.partitioner, method='maximum', mode='sets') + tmpdata = self.partitioner.fuzzyfy(data, method='maximum', mode='sets') flrs = FLR.generate_recurrent_flrs(tmpdata) self.generate_flrg(flrs) diff --git a/pyFTS/models/yu.py b/pyFTS/models/yu.py index b2bd7fe..e0d4418 100644 --- a/pyFTS/models/yu.py +++ b/pyFTS/models/yu.py @@ -59,7 +59,7 @@ class WeightedFTS(fts.FTS): self.flrgs[flr.LHS].append_rhs(flr.RHS) def train(self, ndata, **kwargs): - tmpdata = FuzzySet.fuzzyfy(ndata, partitioner=self.partitioner, method='maximum', mode='sets') + tmpdata = self.partitioner.fuzzyfy(ndata, method='maximum', mode='sets') flrs = FLR.generate_recurrent_flrs(tmpdata) self.generate_FLRG(flrs)