Linear Regression, Machine Learning, Deep Learning, Jupyter Notebook, Naem Azam.
following formula:- Now we have 2 ways to go about it:- Gradient Descent Ordinary Least Square Now, since in sklearn Linear Regression is done by OLS I’ll explain that since I’ll talk about Gradient Descent in the next article. For the above hypothesis we can find the parameters with the following