Issues with trainbr in pattternnet
Show older comments
Hi,
I have some some samples which are from 2 populations and I have to find a way to distinguish them thanks to a patternnet.
I have tried learning with gradient descent and then quasi-Newton but there was overfitting, I have tried the same with early stopping but it has stopped too early and has not learnt anything...
So, now, I want to try weight decay in order to save the "early stopping set" and so having as many samples I can in the learning set.
But, I have some troubles with trainbr... Indeed, I guess that the weight of the sum of weight has been favoured against the error because the weights of the final network are around 10^-19 !!! and all the samples are classified in the same group. By the way, I think that I have read somewhere (but I can't remember where) that trainbr does not accept a logsig transfert function but only a tansig, is it true ? I find nothing that denied or validate it. Finally, in the description of "trainbr" it is written that we have to put the 'trainlm' training function and then call "train" in order to launch trainbr (it is not what I have done, I launch trainbr and not train) but I don't understand this point too.
Thanks by advance for your answer,
best regards
Accepted Answer
More Answers (0)
Categories
Find more on Pattern Recognition 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!