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