try to 'global' targated variables
cross validation in neural network
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!