Simulate the Neural network ?
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!