필터 지우기
필터 지우기

How to add different Inputs into different layers in ANN model

조회 수: 2 (최근 30일)
Nicky T
Nicky T 2020년 2월 27일
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