How to add different Inputs into different layers in ANN model

2 次查看(过去 30 天)
Hi there,
I want to make an ANN model with 2 hidden layers, (5 hidden nodes in each layer). I want to have 3 input for my first layer (tOut,tRet,Sodamp) and then one external input (Scc) for my 2nd layer. I wrote the code below for the first layer but I do not know how to add the Scc input to my second layer. Does anyone know the answer?
hiddenNodes = [5 5];
net = fitnet(hiddenNodes)
view(net);
x = [tOut,tRet,Sodamp]';
y = tMix';
[net,tr] = train(net,x,y);

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by