A big problem to use funtion plotconfusion
3 views (last 30 days)
Show older comments
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 Comment
Answers (1)
farid Motlaq
on 25 Apr 2018
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!!!!
0 Comments
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!