Artificial neural network k-cross validation.

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.

 Akzeptierte Antwort

Greg Heath
Greg Heath am 10 Apr. 2013

0 Stimmen

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by