Artificial neural network k-cross validation.

6 次查看(过去 30 天)
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.

采纳的回答

Greg Heath
Greg Heath 2013-4-10
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 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by