Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

why my predicted output is negative in ANN.

1 Ansicht (letzte 30 Tage)
Sunita
Sunita am 27 Nov. 2023
Geschlossen: Cris LaPierre am 28 Nov. 2023
why my predicted output is negative in ANN. there is no negative value in the data.
x = input';
t = output';
trainFcn = 'trainlm';
hiddenLayerSize = 40;
net = fitnet(hiddenLayerSize,trainFcn);
net.divideParam.trainRatio = 80/100;
net.divideParam.valRatio = 10/100;
net.divideParam.testRatio = 10/100;
[net,tr] = train(net,x,t);
y = net(x);
e = gsubtract(t,y);
performance = perform(net,t,y)
  1 Kommentar
Debraj Maji
Debraj Maji am 27 Nov. 2023
Can you please share the data you used to train the network?

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by