Add some fixes
This commit is contained in:
parent
d30c1005e9
commit
9779bf796c
File diff suppressed because one or more lines are too long
@ -334,7 +334,7 @@ def _delete_same_fuzzy_rules(
|
||||
same_rules.append(rule1_index)
|
||||
break
|
||||
# If antecedents is equals, but consequents is not equals then
|
||||
# Remove rule with the higher weight
|
||||
# Remove rule with the higher antecedent weight
|
||||
if str(rule1[0]) == str(rule2[0]) and str(rule1[2]) <= str(rule2[2]):
|
||||
same_rules.append(rule2_index)
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user