cross validation in neural network

조회 수: 1 (최근 30일)
Gaurav
Gaurav 2013년 10월 8일
답변: Jie 2013년 10월 8일
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

답변 (1개)

Jie
Jie 2013년 10월 8일
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