Artificial neural network k-cross validation.
3 views (last 30 days)
Show older comments
I need Matlab source code for four fold cross-validation for evaluation!!! I need source code for 4 fold cross-validation for neural network in MatLab. I have three input and one output( 55 rows 4 column).I need to do cross validation in order to get overall accurracy,overall precision and recall.
0 Comments
Accepted Answer
Greg Heath
on 10 Apr 2013
Which neural net? fitnet(regression/function-fitting), patternnet(classification/pattern-recognition), narxnet(timeseries regression/prediction) or ...?
Before getting into the source code using the command type, it is better to first use the command help , followed by using the command doc
Relevant functions are
cvpartition
cvpartition/training,
cvpartition/test
crossval
cvpartition/repartition
Hope this helps.
Greg
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!