ANFIS code in matlab

7 Ansichten (letzte 30 Tage)
MAB
MAB am 22 Jan. 2024
Kommentiert: MAB am 22 Jan. 2024
I would like to get the ANFIS code in matlab , I mean the build in function
when I use the command
>> open anfis
the opened anfis function is vague for me and don't contain the calculation for each layer.
I need to study the code and study the calculations for each layer.
there are alot of coding of anfis in mathworks but the codes is different from The original code in matlab.
They use PSO or GA or ,etc optimization algorithm while the original code in matlab using a combination of the least-squares and backpropagation gradient descent methods to model the training data set.
I need the detailed original code the study it
could any one help me
thanks alot in advance
  2 Kommentare
Sam Chak
Sam Chak am 22 Jan. 2024
Bearbeitet: Sam Chak am 22 Jan. 2024
Hi @MAB
Would you mind telling me the reason why you want to 'study' the anfis() code? Are you assigned a task to reinvent the ANFIS algorithm or being pressured to publish academic work for a novel ANFIS-like algorithm?
If your intention is solely to learn about the ANFIS framework for academic writing purposes, wouldn't it be best to refer to Jang's paper?
  • Jang, J.-S. R. "ANFIS: Adaptive-Network-based Fuzzy Inference Systems." IEEE Transactions on Systems, Man, and Cybernetics 23, no. 3 (May 1993): 665–685.
Or even better to refer the book by Jang, Sun and Mizutani:
If you believe that the existing ANFIS is incapable of producing the desired or expected outcome, have you analyzed whether this is due to a data problem or a limitation of ANFIS itself?
MAB
MAB am 22 Jan. 2024
thank you @ Sam Chak I will study the references you referred
I would like to work in anfis code with some change according to my application [ It's still too early to take this step]
I seen publications about using multiple output in anfis and another publications about using anfis with GA and PSO ,etc .
the first step to me is study the code with all calculation for each layer

Melden Sie sich an, um zu kommentieren.

Antworten (1)

John D'Errico
John D'Errico am 22 Jan. 2024
No problem. It appears the anfis function is written in MATLAB itself, and not compiled. If it was compiled code, then no, they do not give it out, and the only way to see the code it to work for TMW. But, since it is written in MATLAB, then you can read the code directly. As such, there is no better source than to read the code yourself. That IS the original code.
If it is too "vague" (I'm not totally sure what vague means here to you) for you, we cannot help, beyond teaching you a detailed course in the subject. For example, perhaps you do not understand why the author made some specific choices in writing the code. That detailed course would be wildly beyond the scope of Answers.
So spend the time reading the code in detail, because that really is the code.
  1 Kommentar
MAB
MAB am 22 Jan. 2024
Thank you for the clarification @John D'Errico

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by