How to set manually training and test data for training a neural network
14 views (last 30 days)
Show older comments
Hello All,
I am making some experiments with mathlab neural network toolbox. Usually to train a neural network i give some training and test data and the net object takes care of dividing the data. However what i need to do is divide the data by myself and set the training and test data explicitly in the net object.
If it is needed some aditional explanation please tell me. Any help would be appreciated.
Thanks.
2 Comments
Geoff
on 4 Jun 2012
From memory, if you look at the help for 'net', it tells you how to do this. You can specify which ranges are used for training, validation and testing. I don't have the neural network toolbox anymore, so I can't be more useful than that.
Accepted Answer
Geoff
on 5 Jun 2012
Edited: John Kelly
on 12 Jun 2014
Read this:
You want the divideind option.
2 Comments
Geoff
on 5 Jun 2012
Incidentally, I found that page by googling "matlab neural net data division".
MatLab Answers is great, but often Google is better ;-)
More Answers (1)
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows 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!