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!