Artificial neural network training error

2 次查看(过去 30 天)
am trying to train may network for four inputs and two outputs every time i run a code ans is different and accuracy is poor
here is the code
input=load('input.csv');
target=load('target.csv');
in=input';
tar=target';
net=feedforwardnet(8);
[net,tr]=train(net,in,tar);
ytrain=net(in(:,tr.trainInd));
testdata=[1;0.16;420;89.7];
[Target]=net(testdata);
a = Target (1,1);
b = Target (2,1);
X = [' The predicted a is: ',num2str(a)];
disp(X)
X = [' The predicted b is: ',num2str(b)];
disp(X)

回答(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