MATLAB: Transfer function which is the best

neural networks

for neural network training i want to know which transfer function which is the best? trainlm ,or trainbr and why (if possible) ??

Best Answer

Always use the default. There is no need to specify. See the documentation for an alternative only if you are having a problem caused by this choice.
For regression and curvefitting,
help fitnet
doc fitnet
help trainlm
doc trainlm
For tiny data sets trainbr works better
For huge data sets trainrp and trainscg work better
For classification and pattern recognition
help patternnet
doc patternnet
help trainscg
doc trainscg
Hope this helps.
Thank you for formally accepting my answer
Greg