フィルターのクリア

Artificial neural network training error

2 ビュー (過去 30 日間)
Muhammad Adil
Muhammad Adil 2021 年 3 月 3 日
編集済み: Muhammad Adil 2021 年 3 月 3 日
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)

回答 (0 件)

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by