Borrar filtros
Borrar filtros

Artificial neural network training error

2 visualizaciones (últimos 30 días)
Muhammad Adil
Muhammad Adil el 3 de Mzo. de 2021
Editada: Muhammad Adil el 3 de Mzo. de 2021
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)

Respuestas (0)

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by