cross validation in neural network
Show older comments
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
Answers (1)
Jie
on 8 Oct 2013
0 votes
try to 'global' targated variables
Categories
Find more on Resampling Techniques in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!