neural network - backpropagation - do program
조회 수: 1 (최근 30일)
이전 댓글 표시
i am focusing on program of backpropagation.
i have trouble on writing a program that if,
i have 7(more than 1) inputs and 4 outputs.
what should i write?
is it same as the 1 input to 1 output program?
i have tried one..but not successful..
for example in the loading data;
X1 = [0,1,2,3,4,5]; %input X2 = [0,1,2,3,4,5]; %input X3 = X4 = X5 = X6 =
Y1 = [3,6,9,12,15]; Y2 = Y3 = Y4 =
train_inp = [X1',X2']; %setting input train_out = [Y']; %seting Out put
% check same number of patterns in each if size(train_inp,1) ~= size(train_out,1) disp('ERROR: data mismatch') return end
or, in the other parts, is it any exceptional 'additional'?
댓글 수: 0
답변 (1개)
mohammed
2011년 4월 1일
Input/Output data must be Matriceslike this
Inputs = [16.0 3.0 2.0 13.0
5.0 10.0 11.0 8.0
9.0 6.0 7.0 12.0
4.0 15.0 14.0 1.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!