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 systemis too sparse.
Checkto make sure this setof input values will activate at least one connected Term
ineach Antecedent via the currentsetof 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"