Filter löschen
Filter löschen

ANFIS Toolbax Test FIS graph

6 Ansichten (letzte 30 Tage)
Hazal Eylül
Hazal Eylül am 2 Mai 2023
Kommentiert: Hazal Eylül am 29 Mai 2023
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?

Antworten (1)

Bhanu Prakash
Bhanu Prakash am 11 Mai 2023
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 Kommentar
Hazal Eylül
Hazal Eylül am 29 Mai 2023
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Fuzzy Logic Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by