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!