How to make ANFIS fuzzy system to produce exact binary outputs (0 or 1)
6 ビュー (過去 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
0 件のコメント
回答 (1 件)
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)')
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Fuzzy Logic Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!