Replacing references to FuzzySet.fuzzyfy to Partitioner.fuzzyfy
This commit is contained in:
parent
0e67b7bc61
commit
59f68801a3
BIN
docs/build/doctrees/environment.pickle
vendored
BIN
docs/build/doctrees/environment.pickle
vendored
Binary file not shown.
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user