Neural Network Coding Error
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
Can you please tell me how to give three inputs in newff to generate a block using gensim having three input ports?
My code is:
net10 = newff(p,t,[5 2],{'tansig' 'purelin'})
p=[6.697 6.4 6.281 6.217 6.177 6.150 6.130 6.101 5.121; 6.608 6.307 6.179 6.102 6.405 6.150 6.130 6.101 5.121;
6.604 6.303 6.175 6.098 6.040 5.987 5.929 5.715 4.519]
t=[ 10 20 30 40 50 70 80 90 100]
net10.trainParam.epochs = 200;
net10.trainParam.goal=0;
net10 = train(net10,p,t);
Y = sim(net10,p);
e=t-Y;
plot(p,t,p,Y,'o')
gensim(net10)
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!