what is the difference between trainlm and trainbr?
17 views (last 30 days)
Show older comments
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. :)
0 Comments
Answers (1)
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
0 Comments
See Also
Categories
Find more on Define Shallow Neural Network Architectures 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!