Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Applied Supervised Learning with Python

You're reading from   Applied Supervised Learning with Python Use scikit-learn to build predictive models from real-world datasets and prepare yourself for the future of machine learning

Arrow left icon
Product type Paperback
Published in Apr 2019
Publisher
ISBN-13 9781789954920
Length 404 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Ishita Mathur Ishita Mathur
Author Profile Icon Ishita Mathur
Ishita Mathur
Benjamin Johnston Benjamin Johnston
Author Profile Icon Benjamin Johnston
Benjamin Johnston
Arrow right icon
View More author details
Toc

Multiple Linear Regression


We have already covered regular linear regression, as well as linear regression with polynomial terms, and considered training them with both the least squares method and gradient descent. This section of the chapter will consider an additional type of linear regression: multiple linear regression, where more than one type of variable (or feature) is used to construct the model. To examine multiple linear regression, we will use a modified version of the Boston Housing Dataset, available from https://archive.ics.uci.edu/ml/index.php. The modified dataset can be found in the accompanying source code or on GitHub at https://github.com/TrainingByPackt/Supervised-Learning-with-Python and has been reformatted for simplified use. This dataset contains a list of different attributes for property in the Boston area, including the crime rate per capita by town, the percentage of the population with a lower socio-economic status, as well as the average number of rooms per...

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 AU $24.99/month. Cancel anytime