필터 지우기
필터 지우기

ANFIS code in matlab

조회 수: 18 (최근 30일)
MAB
MAB 2024년 1월 22일
댓글: MAB 2024년 1월 22일
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
Sam Chak
Sam Chak 2024년 1월 22일
편집: Sam Chak 2024년 1월 22일
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 2024년 1월 22일
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

댓글을 달려면 로그인하십시오.

답변 (1개)

John D'Errico
John D'Errico 2024년 1월 22일
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
MAB
MAB 2024년 1월 22일
Thank you for the clarification @John D'Errico

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by