Basic Linear Regression with Scikit-Learn
Are there other ways to do linear regression in Python?
Linear Regression in Python
Well if you dont know how linear regression works watch a guide on Youtube or read book. Analysis of biological data by Whitlock explains linear regression very well (and other statistical concepts). Implementing it in Python afterwards shouldnt be that hard, there are a lot of guides outthere.
More on reddit.comProgram linear regression model from scratch or use Scikit-Learn?
Personally I use the Scikit one, However the one I found from scratch is good from here....
https://github.com/inhwane/lazyprogrammer/blob/master/linear_regression.py
More on reddit.comVideos
I have added a simple tutorial for Linear Regression with Scikit-Learn with a simple real-world example and graphs to support the explanation. I have used an example of house size to price list (random examples) to show the working and result. Please give me suggestions on how to improve and what I have missed. Also, suggest what topic should be next in order.
A Beginner's Guide to Linear Regression with Scikit-Learn in Python (thepygrammer.blogspot.com)