Problematic Ordinal Input Categorical Output Neural Network
Show older comments
Hello everyone.! I'm fairly new to the ANN, but I am making quite an effort on that. I have a problem with ordinal input (numbers from 1-5 in each column, arrays are the observations (172) ) and categorical output (A-->10000 , B-->010000, C-->00100 etc) I am using patternet with 100 hidden neurons and
net.layers{1}.transferFcn = 'tansig';
net.layers{2}.transferFcn = 'logsig';
although I have given a shot to softmax and other transfer functions. Also I use
net.divideFcn = 'dividerand';
net.divideParam.trainRatio = 70/100;
net.divideParam.valRatio = 15/100;
net.divideParam.testRatio = 15/100;
net.trainFcn = 'trainscg';
net.trainParam.max_fail= 1000;
net.inputs{1}.processFcns = {'removeconstantrows','fixunknowns','mapminmax'};
net.outputs{2}.processFcns = {'removeconstantrows'};
net.trainParam.epochs=1000;
net.trainParam.min_grad=0;
this block in order to finalize my network. However, I have not achieved any greater accuracy the 52%.. Is there any specific suggestion.? Thank you everyone. I hope I was accurate enough.
Accepted Answer
More Answers (1)
Categories
Find more on Startup and Shutdown 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!