Change the defuzzification algorithm in compute function

132 views
Skip to first unread message

Joaquín Bogado

unread,
Apr 18, 2017, 3:24:06 PM4/18/17
to scikit-fuzzy
Hello!
I'm using the new API to create ControlSystem and then simulate it. Yet I couldn't  found the way to change the defuzzy algorithm to other than default (centroid?). There is a way to do this?

Thanks,
JJ.

Hounaida Zemzem

unread,
Jul 24, 2017, 7:54:19 PM7/24/17
to scikit-fuzzy
Hi,
Of course, you can change it : You have the change it with one of the other defuzzification methods. You have to access to fuzzyvariable.py in the control field and change it in the init finction : def __init__(self, universe, label, defuzzify_method='centroid').
Reply all
Reply to author
Forward
0 new messages