cross validation in neural network

1 visualizzazione (ultimi 30 giorni)
Gaurav
Gaurav il 8 Ott 2013
Risposto: Jie il 8 Ott 2013
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

Risposte (1)

Jie
Jie il 8 Ott 2013
try to 'global' targated variables

Community Treasure Hunt

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

Start Hunting!

Translated by