what is the difference between trainlm and trainbr?

10 views (last 30 days)
hello matlab community, what is the difference between the Levenberg-Marquardt backpropagation (trainlm) and Bayesian Regularization (trainbr)??? Can anyone explain these two functions and the difference. Thank you for your help. :)

Answers (1)

Greg Heath
Greg Heath on 5 Dec 2018
One minimizes mean square error
The other minimizes a weighted sum of squared errors and squared weights
The latter is typically used to prevent overtraining an overfit net without using a validation subset.
Therefore it is most useful for small datasets to keep the training subset as large as feasible.
Hope this helps.
Thank you for formally accepting my answer
Greg

Categories

Find more on Neural Simulation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!