Borrar filtros
Borrar filtros

ANFIS Toolbax Test FIS graph

6 visualizaciones (últimos 30 días)
Hazal Eylül
Hazal Eylül el 2 de Mayo de 2023
Comentada: Hazal Eylül el 29 de Mayo de 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?

Respuestas (1)

Bhanu Prakash
Bhanu Prakash el 11 de Mayo de 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 comentario
Hazal Eylül
Hazal Eylül el 29 de Mayo de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Fuzzy Logic Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by