Validation and train sets are equal?
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
When I train this net:
net = feedforwardnet(20,'trainlm');
net.inputs{1}.processFcns = {};
net.outputs{2}.processFcns = {};
net.trainParam.epochs = 200;
It looks like, that I have the exactly same train and validation sets during training, so it never ends until max epoch is reached. I have tried to change ratio manually, but it doesnt work as well.

My input data set is unique.

I've tried another input data set and it works. I have also tried to specific range for validation and train set by divideint and it works as well:
net.divideFcn = 'divideind';
net.divideParam.trainInd = 89:584;
net.divideParam.valInd = 1:88;
So what am I missing?
1 Commento
Greg Heath
il 27 Ago 2016
It would help if you posted your commented code operating on one of the MATLAB example data sets.
help nndatasets
doc nndatasets
Greg
PS: What is wrong with using the example code in
help feedforwardnet
doc feedforwardnet
?
Risposte (0)
Questa domanda è chiusa.
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!