필터 지우기
필터 지우기

several non-feedback inputs to a dynamic nnetwork

조회 수: 2 (최근 30일)
haMed
haMed 2012년 2월 7일
hi
I am trying to train a net, something like this http://i44.tinypic.com/ofofmd.png that has 2 inputs signals with sizes 1 & 4 (as shown) and an one output. The problem is that I can not prepare the training data using the preparets, actually I don't know how to implement.
%v, xi, y all are 1*N
v = v;
x = [x1; x2; x3; x4];
y = y;
v = con2seq(v);
x = con2seq(x);
y = con2seq(y);
Xnf = {v; x}; % Non-feedback inputs ????????
Tnf = y; % Non-feedback targets
Tf = {}; % Feedback targets
[Xs,Xi,Ai,Ts] = preparets(NNC,Xnf,Tnf,Tf);
Thanks for your time :)

채택된 답변

haMed
haMed 2012년 2월 8일
I found the answer!
The code should be changed to
%v, xi, y all are 1*N
v = v;
x = [x1; x2; x3; x4];
y = y;
v = con2seq(v);
x = con2seq(x);
y = con2seq(y);
Xnf = [v; x]; % Non-feedback inputs
Tnf = y; % Non-feedback targets
Tf = {}; % Feedback targets
[Xs,Xi,Ai,Ts] = preparets(NNC,Xnf,Tnf,Tf);

추가 답변 (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