How to make ANFIS fuzzy system to produce exact binary outputs (0 or 1)

5 vues (au cours des 30 derniers jours)
Dhandapani.S
Dhandapani.S le 12 Août 2015
i have two input column values A and B. C is the result either 0 or 1. when i tried matlab says anfis editor only works on Sugeno systems with one output. please help me. i did it in neural network. the same i have to do in fuzzy neuro.please help

Réponses (1)

Sam Chak
Sam Chak le 26 Avr 2025
It appears you are concerned that ANFIS may not be suitable for your needs, particularly if you require exact binary outputs (0 or 1). Given that ANFIS Sugeno systems typically produce continuous outputs, it may not be the best choice for strict binary classification tasks, unless you are willing to perform post-processing of the fuzzy output data using the round() function.
x = linspace(1, 100);
fuzzy_out = rand(100, 1);
y = round(fuzzy_out);
figure
stem(x, fuzzy_out); ylim([-0.25, 1.25]), yline(0.5, 'r--')
title('Non-binary fuzzy outputs')
figure
stem(x, y); ylim([-0.25, 1.25]), yline(0.5, 'r--')
title('Exact binary outputs (0 or 1)')

Catégories

En savoir plus sur Fuzzy Logic Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by