필터 지우기
필터 지우기

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 CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by