Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

why my predicted output is negative in ANN.

조회 수: 1 (최근 30일)
Sunita
Sunita 2023년 11월 27일
마감: Cris LaPierre 2023년 11월 28일
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
Debraj Maji
Debraj Maji 2023년 11월 27일
Can you please share the data you used to train the network?

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by