Borrar filtros
Borrar filtros

How to add different Inputs into different layers in ANN model

2 visualizaciones (últimos 30 días)
Nicky T
Nicky T el 27 de Feb. de 2020
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);

Respuestas (0)

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by