cross validation in neural network

Hi,
How can I pass a argument to my function from crossval function.
Eg.
function y = Net(trainData, testData, hiddenLayers)
crossval(Net, myData)
I need to pass a value for argument hiddenLayers from crossVal function to my function Net. How can I do that?
Regards
Gaurav

Respuestas (1)

Jie
Jie el 8 de Oct. de 2013

0 votos

try to 'global' targated variables

Etiquetas

Preguntada:

el 8 de Oct. de 2013

Respondida:

Jie
el 8 de Oct. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by