Simulate the Neural network ?

1 回表示 (過去 30 日間)
Mariem Harmassi
Mariem Harmassi 2012 年 9 月 7 日
Hi , i am testing my modular neural network so First what's the difference between sim and train ? 2-when i call the sim function the matlab error ('model' parameter must be a string ) appears .It seems confused with the simulink toolbox. I store the neural network in an array cell so this is the code : for i=1:size(trainInput,1) %find cluster for the ith training input cn=m2(i); % find output by respective module nets{cn} is a neural network responsible %of a part of the data . module=nets{cn}; a = sim(module,trainInput(i,:)'); a=a'; % corr is counter for correcte predicted class if a(1)<0.5 rep=0; else rep=1; end; if trainOutput(i)==rep corr=corr+1; end; end; I hope somebody can help me :)

回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by