Introducing Lines of Regression

In this post we shall learn how to create Lines of Regression in Python using numpy and sklearn. We shall also draw plots for the same. To start with we shall import the following. import numpy as np from sklearn.linear_model import LinearRegression import matplotlib.pyplot as plt   end