Welcome to the 9th part of our machine learning regression tutorial within our Machine Learning with Python tutorial series. We’ve been working on calculating the regression, or best-fit, line for a given dataset in Python. Previously, we wrote a function that will gather the slope, and now we need to calculate the y-intercept.

https://pythonprogramming.net

https://twitter.com/sentdex

https://www.facebook.com/pythonprogra…

https://plus.google.com/+sentdex