필터 지우기
필터 지우기

ANFIS Toolbax Test FIS graph

조회 수: 6 (최근 30일)
Hazal Eylül
Hazal Eylül 2023년 5월 2일
댓글: Hazal Eylül 2023년 5월 29일
I try to predict a parameter using ANFIS. Is the grapgh that is shown in the toolbax modifiable? For example I want to change the lables, or want to see predictions vs actual results. How can i change the graph? Or can i create the graph using fis output data? Is this data available?

답변 (1개)

Bhanu Prakash
Bhanu Prakash 2023년 5월 11일
Hi Hazal,
As per my understanding, you want to modify the graph shown in the ANFIS toolbox.
You can change the labels of the graphs using "xlabel" & "ylabel" functions. The ANFIS output is calculated using the "evalfis" function. Consider the code shown below:
fis = anfis(TrainingData);
x = fuzex1trnData(:,1);
anfisOutput = evalfis(fis,x);
plot(anfisOutput);
where, the function "anfis" is used to create a fuzzy interface system "fis" from the training data "TrainingData". The FIS output "anfisOutput" is calculated using the function "evalfis" and the training data.
You can plot the "anfisOutput" with the help of the "plot" function.
For more information on the above-mentioned functions, you can refer to the following documentation:
For "anfis" function:
For "evalfis" function:
For "plot" function:
  댓글 수: 1
Hazal Eylül
Hazal Eylül 2023년 5월 29일
Thank you for your answer. I want to modify the graph so that I can exactly see the predicted values of the fis inference vs real values. The error given at the end of the process is an average error. I have lots of data so that i can not try them individually to see what is the output value. So is there any way to take the predicted values as a matrix? So maybe ı can create my own graph with real vs predicted values. Thanks.

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

카테고리

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