How to solve the problem in deepNetworkDesigner when outputs are more than input.

조회 수: 2 (최근 30일)
[x,t] = simplefit_dataset;
Using this how can I enter my own inputs and traget data. e.g. if my input=[1; 2; 3; 4; 5]; and my target=[1 2 3 4;2 4 6 8;3 6 9 12;4 8 12 16;5 10 15 20]; Now WhenI eneter my this data via command window and enter these commands also i.e.
input=[1; 2; 3; 4; 5];
target=[1 2 3 4;2 4 6 8;3 6 9 12;4 8 12 16;5 10 15 20];
net = fitnet(10);
view(net)
net = train(net,x,yes);
view(net)
yes = net(x);
perf = perform(net,yes,t)
net = fitnet(10,'trainbr');
net = train(net,x,t);
yes = net(x);
perf = perform(net,yes,t)
I get this error:
RefFitNetExample
Undefined function or variable 'x'.
Error in RefFitNetExample (line 19)
net = train(net,x,yes);
So how to tacke this problem.
NOTE:- The input is one at one time but the corresponding outputs are 4 in my cas as is clear from above input and target.

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