2010a
================
net=newff(trainFeature,trainValue,[8 1],{'tansig' 'purelin'});
2009a
===============
net=newff(trainFeature,trainValue,[8 1]);
net.layers{1}.transferFcn = 'tansig';
net.layers{2}.transferFcn = 'purelin'
save net
==================
save net;
%-------------------- Radial Basis Network No train -------------------
net=newrb(trainFeature,trainValue,0.0, 1, 100, 1);
save net;
NO TRAIN . IT WILL AUTOMATICALLY CRATE NEW NEURON
load net for testing
====================
load net;
================
net=newff(trainFeature,trainValue,[8 1],{'tansig' 'purelin'});
2009a
===============
net=newff(trainFeature,trainValue,[8 1]);
net.layers{1}.transferFcn = 'tansig';
net.layers{2}.transferFcn = 'purelin'
save net
==================
save net;
net=newrb(trainFeature,trainValue,0.0, 1, 100, 1);
save net;
NO TRAIN . IT WILL AUTOMATICALLY CRATE NEW NEURON
load net for testing
====================
load net;
Comments
Post a Comment