Azzera filtri
Azzera filtri

How to add different Inputs into different layers in ANN model

2 visualizzazioni (ultimi 30 giorni)
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);

Risposte (0)

Categorie

Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by