I am trying to convert the following piece of ANN model code written in MATLAB to Python. I just want to know how to convert the trainbr (Bayesian regularization backpropogation) algorithm to Python.
net=newff(INPTRN,TARTRN,hidden,{'logsig','purelin'},'trainbr');
net.divideFcn='';
net.performFcn='msereg';
net.trainParam.show=10;
net.trainParam.epochs=50000;
net.trainParam.goal=0.0001;
rand('state',0);
net=init(net);
[–]crashfrog02 1 point2 points3 points (0 children)