Info
この質問は閉じられています。 編集または回答するには再度開いてください。
I have 4 inputs and 1 output which is either '0' or '1'. I have around 1000 samples and I want to create a Neural Network for this.
2 ビュー (過去 30 日間)
古いコメントを表示
I want to write a code for this but I am not able to do so. Please help me with it.
PS: I want to write the code I don't want to use any of the apps of matlab. Thank You
0 件のコメント
回答 (1 件)
Nakul
2017 年 6 月 8 日
p=[IN1 IN2 IN3 IN4]'; % four inputs written in MATRIX form
t=OP'; %Output in matrix forms
net10 = newff([0 1;0 1;0 1],[20 1],{'tansig' 'purelin'}); %Range of input variation , number of layer etc
net10.trainParam.epochs = 1000;
net10.trainParam.goal=0;
net10 = train(net10,p,t);
gensim(net10,-1)
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!