Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
why my predicted output is negative in ANN.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Debraj Maji
el 27 de Nov. de 2023
Hi @Sunita
Can you please share the data you used to train the network?
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!