How can I access anfis/anfisedit buffer (output data in array form )

I am using anfis/anfisedit in matlab for doing some parts of my thesis and I need to make a confusion matrix. To do that I have to get my anfis output in array form to compare it with training set output(the last column of training set). Since it computes the training error, it should keep that output array somewhere. But I could not find any way to access those data. I searched the internet for possible solutions but nothing founded. Is there any possibility to do that?

1 comentario

i am doing training of rainfall -runoff modelling in ANFIS. two rainfall input stations datas and one output station datas are used.. total 100 datas are ther ... that means input out put combinations are 100.... 75 are taken for training ... how did i get anfis run off output...? so that i can compare with desired output...

Iniciar sesión para comentar.

 Respuesta aceptada

Ali
Ali el 17 de Jun. de 2013
Finally, I think that I find my answer: USING evalfis function is a way to access your fis output array. isn't it?

1 comentario

i am doing training of rainfall -runoff modelling in ANFIS. two rainfall input stations datas and one output station datas are used.. total 100 datas are ther ... that means input out put combinations are 100.... 75 are taken for training ... how did i get anfis run off output...? so that i can compare with desired output...

Iniciar sesión para comentar.

Más respuestas (1)

Ovais
Ovais el 15 de Feb. de 2023
why cant I load the data in neuroFuzzyDesigner and showing this error,,,
anfisedit
Error using line
When table is the second input, the first input must be a valid parent.
Error in anfisedit (line 791)
line(1:size(trndata, 1), trndata(:, inNum+outNum), 'lineStyle', 'none', 'Marker', lineMarker(colorIndex), 'Tag', type);
Error while evaluating UIControl Callback.

1 comentario

I also experienced similar problem. What I did is I imported my data to the workspace in 'double' data type, not string or table. You can do this by setting the output type to numeric matrix when you import data to workspace.

Iniciar sesión para comentar.

Categorías

Más información sobre Fuzzy Logic in Simulink en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

Ali
el 17 de Jun. de 2013

Comentada:

el 10 de Nov. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by