Neural Network Output Problem
Show older comments
Hi,
I have a feedforward network as below:
net = feedforwardnet([68 36], 'traingdm');
net.numInputs = 2;
net.inputs{1}.size = 1;
net.inputs{2}.size = 136;
net.layers{3}.size = 4;
net.inputConnect = [0 1; 1 0; 0 0];
net.trainparam.epochs = 775;
net.trainparam.lr = 0.3;
net.trainparam.mc = 0.3;
net.trainparam.showCommandLine = 1;
net.performFcn = 'mse';
net.divideParam.trainRatio = 42.01/100;
net.divideParam.valRatio = 20.95/100;
net.divideParam.testRatio = 37.04/100;

I have an Inputs matrix (137x1002 double) and a Targets matrix (4x1002 double) that used for age estimation by neural network. 136 face feature + 1 gender = 137 input cell for each of 1002 face image. it must classify to 4 groups of ages:
group 1 : 1 - 12
group 2 : 13 - 25
group 3 : 26 - 45
group 4 : 46 - 63
The target matrix filled by 0-1 values

After training this network I checked network output values, but all of values was same and repeated...

Network Training Details :
network training stoped by Validation Stop event in epoch 16.

Performance Plot

Training State

Regression

Regression R Value is very low ... I don't know why?
My NN architecture and network initializing values explained in Age Estimation article that I was study before.
what is my problem? please help me!
Thanks.
1 Comment
Sean de Wolski
on 25 Oct 2012
Congratulations on having the best written Neural Networks question ever!
Accepted Answer
More Answers (0)
Categories
Find more on Deep Learning Toolbox 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!