A big problem to use funtion plotconfusion

3 次查看(过去 30 天)
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 个)

farid Motlaq
farid Motlaq 2018-4-25
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!!!!

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by