Polynomial regression
I hope you are excited about the skills you have learned so far in this chapter. Now we are going to learn how to fit curves using linear regression. One way to fit curves using a linear regression model is by building a polynomial like this:
If we pay attention, we can see the simple linear model hidden in this polynomial. To uncover it, all we need to do is to make all the coefficients labeled higher than 1 exactly zero. And then we will get:
Polynomial regression is still linear regression, the linearity in the model is related ...
Get Bayesian Analysis with Python 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.