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
Effective Amazon Machine Learning

You're reading from  Effective Amazon Machine Learning

Product type Book
Published in Apr 2017
Publisher Packt
ISBN-13 9781785883231
Pages 306 pages
Edition 1st Edition
Languages
Author (1):
Alexis Perrier Alexis Perrier
Profile icon Alexis Perrier
Toc

Table of Contents (17) Chapters close

Introducing polynomial regression


In two dimensions, where we have a predictor and an outcome, linear modeling is all about finding the best line that approximates your data. In three dimensions (two predictors and one outcome), the idea is then to find the best plane, or the best flat surface, that approximates your data. In the N dimension, the surface becomes an hyperplane, but the goal is always the same – to find the hyperplane of dimension N-1 that gives the best approximation for regression or that separates the classes the best for classification. That hyperplane is always flat.

Coming back to the very non-linear two-dimensional dataset we created, it is obvious that no line can properly approximate the relation between the predictor and the outcome. There are many different methods to model non-linear data, including polynomial regression, step functions, splines, and Generalized additive models (GAM). See Chapter 7 of An Introduction to Statistical Learning by James, Witten, Hastie...

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