ANFIS Toolbax Test FIS graph

6 次查看(过去 30 天)
Hazal Eylül
Hazal Eylül 2023-5-2
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