Correlation values shown by 'nntraintool -> regression plots' differs when calculated manually for 'dividerand' function
10 views (last 30 days)
Show older comments
Kalpesh Patil
on 19 Nov 2013
Commented: Kalpesh Patil
on 20 Nov 2013
Hello all, I ran my ANN model to train 60 training sets out which 42 were used for training, 9 used for validation and 9 were used for testing. This values were shown in 'nntraintool - > regression plots'. I tried to calculate them manually also and they were matching for divideblock function.
But same thing if I do for dividerand function with same ratio as used above then I am not getting the values of correlation which were displayed in 'nntraintool - > regression plots'.
Please help me regarding how to use dividerand in NN and use appropriate values for model evaluation.
Regards,
0 Comments
Accepted Answer
Sean de Wolski
on 19 Nov 2013
Edited: Sean de Wolski
on 19 Nov 2013
dividerand uses random indices.
Divide targets into three sets using random indices
So of course the values will be a little different.
More Answers (0)
See Also
Categories
Find more on Statistics and Machine 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!