A big problem to use funtion plotconfusion

I am using nn to train my data,and I want to use plotconfusion to make a image like this>>https://www.mathworks.com/help/nnet/ref/plotconfusion.html But I always get the error: Error using confusion Too many output arguments. I can't find any similar problem in Internet. Pleas help me. this is my code: trainLabel=full(tools.ind2vec(label'+1)); net=train(net,testdata',trainLabel); y=net(testdata') plotconfusion(trainLabel,y);
label is my traget ,type is double 155*1 testdata is my input,type is double 155*156

댓글 수: 1

Fatttouma
Fatttouma 2017년 6월 30일
I found the same erreur, have you any idea to resolve it

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

답변 (1개)

farid Motlaq
farid Motlaq 2018년 4월 25일

0 개 추천

I am having the same problem as well. Surprisingly the same code was working, but after i increase the hidden layers (which got nothing to do with the out put dimension change and targets) I have got the error of " too many input arguments!!!!

카테고리

도움말 센터File Exchange에서 Profile and Improve Performance에 대해 자세히 알아보기

질문:

2017년 3월 17일

답변:

2018년 4월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by