Fuzzy System Python Assertion Error During Input
I have built a fuzzy control system that takes three inputs (x,y,z) that accept (poor, average, or good) values and returns one output (w) with (low, average, or high) value. unfor
Solution 1:
First problem is a typo,
z = ctrl.Antecedent(np.arange(0,1,0.001), 'y') # should be 'z'!
Now the code, when run, returns
ValueError: Crisp output cannot be calculated, likely because the system is too sparse.
Check to make sure this set of input values will activate at least one connected Term
in each Antecedent via the current set of Rules.
... because
wResults.input['y'] = 0.7 # classifies as "decent",
# and you haven't given any relevant rules
Post a Comment for "Fuzzy System Python Assertion Error During Input"