15.4 Case Study: Time Series and Simple Linear Regression
In the previous section, we demonstrated classification in which each sample was associated with a distinct class. Here, we continue our discussion of simple linear regression—the simplest of the regression algorithms—that began in Chapter 10’s Intro to Data Science section. Recall that given a collection of numeric values representing an independent variable and a dependent variable, simple linear regression describes the relationship between these variables with a straight line, known as the regression line.
Previously, we performed simple linear regression on a time series of average New York City January high-temperature data for 1895 through 2018. In that example, we used Seaborn’s ...
Get Intro to Python for Computer Science and Data Science: Learning to Program with AI, Big Data and The Cloud 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.