Dividerand - neural network training
Show older comments
I'm using a neural network model and for some simulations I've used the function 'dividerand' instead of 'divideind'. Without using the command [net,tr]=train(net,.....) where I could check how the data were randomly separated in training, validation and testing datasets, is it possible to verify how the random separation was executed (analysing the indices)?
Accepted Answer
More Answers (4)
Sean de Wolski
on 22 Jun 2012
0 votes
I am not sure I understand. You can analyze the indces just by looking at the outputs from dividerannd. Can you please clarify your question a little further and/or provide a short example?
Greg Heath
on 22 Jun 2012
0 votes
The structure tr in the double output [net tr ] = train(net,x,t); will contain the train/val/test indices.
Greg
JSousa Sousa
on 25 Jun 2012
0 votes
JSousa Sousa
on 26 Jun 2012
0 votes
1 Comment
Greg Heath
on 26 Jun 2012
No.
You should always specify the random number seed/state before calling a function that uses random numbers.
The only thing you can do now is to use a loop to create a lot of designs and try to find one that has a similar performance to the original.
Greg
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!