Generating rules in FIS
2 ビュー (過去 30 日間)
古いコメントを表示
Hello,
Is there a method to generate rules for FIS.
I have 6 inputs with 5 MFs each. It is confusing to create rules.
So basically i will have 6^5 rules which is huge.
Can we generate rules using some program/logic.
1 件のコメント
Sam Chak
2024 年 9 月 20 日
The total number of possible rules under "Grid Partitioning" technique is
5^6
NOT
6^5
回答 (1 件)
Rushikesh
2024 年 9 月 19 日
編集済み: Rushikesh
2024 年 9 月 19 日
As per my understanding, you want to create rules for fuzzy system automatically and want to reduce complexity involved in creating large number of rules.
Assuming that you have input-output data representing the system you want to model, MATLAB provides the "genfis" function to generate a Fuzzy Inference System (FIS) structure. This function creates rules based on all possible combinations of input membership functions. You can specify membership functions for each input using the options parameter in the "genfis" function. By default, it uses Grid Partitioning to generate the fuzzy system, but it also supports other clustering methods, such as the Subtractive Clustering method, which may help in reducing the number of rules.
You can refer to the documentation below for more information:
Example of Grid Partitioning method:-
options = genfisOptions('GridPartition');
options.NumMembershipFunctions = [3 3]; % Example: 3 MFs for each of 2 inputs
options.InputMembershipFunctionType = 'gaussmf'; % Example: Gaussian MFs
% Generate initial FIS
initialFIS = genfis(inputData, outputData, options);
Alternatively, if you already have a collection of input-output data that you would like to use for modeling, you can also try using the "anfis" function. This function will automatically generate and optimize rules for a Fuzzy Inference System based on input-output training data using neuro-adaptive learning techniques.
For more information, please refer to the documentation below:
Hope this helps
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!