Bugfix in partitioners.Entropy, not catching fuzzy set names correctly
This commit is contained in:
parent
6f4bf247f8
commit
b504c8a83c
@ -65,7 +65,7 @@ class Partitioner(object):
|
|||||||
self.sets = self.build(ndata)
|
self.sets = self.build(ndata)
|
||||||
|
|
||||||
if self.ordered_sets is None and self.setnames is not None:
|
if self.ordered_sets is None and self.setnames is not None:
|
||||||
self.ordered_sets = self.setnames
|
self.ordered_sets = self.setnames[:len(self.sets)-1]
|
||||||
else:
|
else:
|
||||||
self.ordered_sets = FuzzySet.set_ordered(self.sets)
|
self.ordered_sets = FuzzySet.set_ordered(self.sets)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user