You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing the respective dependencies I am unable to run the file example_tsk.py
Error:
python3Traceback (most recent call last):
File "scikit-fuzzy-tsk-systems/skfuzzy/control/controlsystem.py", line 813, in _process_rules
raise StopIteration()
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "example_tsk.py", line 29, in <module>
tipping_ctrl = fcontrol.ControlSystem([rule1, rule2, rule3])
File "scikit-fuzzy-tsk-systems/skfuzzy/control/controlsystem.py", line 47, in __init__
self.addrule(rule)
File "scikit-fuzzy-tsk-systems/skfuzzy/control/controlsystem.py", line 100, in addrule
for r in self.rules:
File "scikit-fuzzy-tsk-systems/skfuzzy/control/controlsystem.py", line 768, in __iter__
self._cache = list(self._process_rules(self.all_rules[:]))
RuntimeError: generator raised StopIteration
Any way out to make it run? Have been using skfuzzy for mamdani, don't want to migrate for TSK. Any guidance will be appreciated :)
The text was updated successfully, but these errors were encountered:
After installing the respective dependencies I am unable to run the file example_tsk.py
Error:
Any way out to make it run? Have been using skfuzzy for mamdani, don't want to migrate for TSK. Any guidance will be appreciated :)
The text was updated successfully, but these errors were encountered: