How to give more than 6 inputs in anfis?

15 views (last 30 days)
aarti gehani
aarti gehani on 20 Aug 2014
Answered: Yarpiz on 12 Sep 2015
I am working on a problem wherein I have 37 inputs and 4 outputs. I want to solve this optimization problem using ANFIS. I have tried using the command line and the anfis toolbox, but in vain. In both the cases, I get error OUT OF MEMORY.
Also, it shows warning as rank deficiencies. How to fix it?

Answers (1)

Yarpiz on 12 Sep 2015
For grid partitioning methods, because of equal segmentation of the input space, many unused and unnecessary rules are created. But for a minimal realization of (AN)FIS structure, the clustering-based approaches (i.e. genfis2 and genfis3) are better.
If you are using the anfisedit GUI tool, try the Grid Partitioning method for raw FIS generation. If you are training the ANFIS using anfis function and doing this programmatically, use the genfis2 and genfis3(FCM-based approah), to generate the initial FIS structure.
All of these are implemented and available to download, in the following FEX post:


Find more on Fuzzy Logic Toolbox in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!