12. Linear Models
12.1 Introduction
This part of the book follows the methods described in Jared Lander’s Rfor Everyone. The rationale is that since you have learned the methods of data manipulation in Python using Pandas, you can save out the cleaned data set if you need to use a method from another analytics language. Also, this part covers many of the basic modeling techniques amd serves as an introduction to data analytics/machine learning. Other great references are Andreas Müller and Sarah Guido’s Introduction to Machine Learning With Python and Sebastian Raschka and Vahid Mirjalili’s Python Machine Learning.
12.2 Simple Linear Regression
The goal of linear regression is to draw a straight-line relationship between a response variable ...
Get Pandas for Everyone: Python Data Analysis, First Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.