Linear Regression, Machine Learning, Deep Learning, Jupyter Notebook, Naem Azam.
as np import matplotlib.pyplot as plt X = np.array([1,2,3,5]) Y = np.array([2,3,2,4]) plt.scatter(X,Y) plt.show() So as we can see there is no particular relation between x and y. But in linear regression, we assume a linear relationship between inputs and output and try to find the line that best