Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Training Systems using Python Statistical Modeling

You're reading from  Training Systems using Python Statistical Modeling

Product type Book
Published in May 2019
Publisher Packt
ISBN-13 9781838823733
Pages 290 pages
Edition 1st Edition
Languages
Author (1):
Curtis Miller Curtis Miller
Profile icon Curtis Miller
Toc

Bayesian linear models

Occam's razor is an idea that appears not just in data science, but in science in general. It's a problem-solving principle, which suggests that we should prefer simple models that explain phenomena to complex models that also explain the same phenomena. The idea is that a simple model, without much complexity and without extraneous features, is more likely to be correct than an overly complicated model. The hope with some of these regularization methods, such as Bayesian ridge regression, is to obtain simple models. These models are as simple as they need to be, and they do a decent job of explaining data without overfitting.

In comparison, out of the box, OLS is prone to overfitting. Let's take a look at the following base function, which is generating a dataset:

Here, we can see randomly selected points from this function, with noise added...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime