필터 지우기
필터 지우기

Artificial neural network training error

조회 수: 2 (최근 30일)
Muhammad Adil
Muhammad Adil 2021년 3월 3일
편집: Muhammad Adil 2021년 3월 3일
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