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

7 次查看(过去 30 天)
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

回答(1 个)

Sam Chak
Sam Chak 2025-4-26
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)')

类别

Help CenterFile Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by