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

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...

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

 채택된 답변

Ali
Ali 2013년 6월 17일

0 개 추천

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

댓글 수: 1

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...

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

추가 답변 (1개)

Ovais
Ovais 2023년 2월 15일

0 개 추천

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

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.

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

카테고리

도움말 센터File Exchange에서 Fuzzy Logic in Simulink에 대해 자세히 알아보기

질문:

Ali
2013년 6월 17일

댓글:

2024년 11월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by