Cross validation, neutal networks, doubt

4 views (last 30 days)
Hello everybody,
I'm seriously concerned about the matlab functions that are used to make neural networks. I need to make a neural network able to get 3 sets of vectors: a training, a validation and a testing set. The problem is: the newfit/newff function gets the set with all vectors and just uses the dividerand function on it (which is too much automatic). So, I already have the 3 sets and I need to use the newfit and the train functions using the sets I've already prepared. Any suggestions?
Thanks in advance, Guilherme
  2 Comments
Erfan
Erfan on 24 Jul 2013
Hi I have the same problem. please let me know if you find it. thanks(<mailto:er.asaadi@gmail.com er.asaadi@gmail.com>)
Erfan
Erfan on 24 Jul 2013
Hi I have the same problem. please let me know if you find it. thanks(<mailto:er.asaadi@gmail.com er.asaadi@gmail.com>)

Sign in to comment.

Accepted Answer

Greg Heath
Greg Heath on 24 Jul 2013
You can specify the subsets using
net.divideFcn = 'divideind'
help divideind
doc divideind
Hope this helps
Thank you for formally accepting my answer
Greg
P.S. You might find useful examples by searching the NEWSGROUP and ANSWERS using
divideind
or
greg divideind

More Answers (1)

Erfan
Erfan on 24 Jul 2013
Hi I have the same problem. please let me know if you find it. thanks(<mailto:er.asaadi@gmail.com er.asaadi@gmail.com>)

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!