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'?

回答(1 个)

mohammed
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 ];

类别

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