Back to Browse

Implement Linear regression + gradient descent in python from scratch | univariate linear regression

3.6K views
Nov 11, 2022
28:39

In this video, you will learn how to implement linear regression and apply gradient descent from scratch using numpy in python. you will also see how we can avoid for loops using vectorization to compute our hypothesis and calculate the required gradients/ partial derivatives to update the learnable parameters/ coefficients. from the below notebook, hypothesis and gradient functions can be used for linear regression with multiple variables as well. Please give it a thumbs up if you like it and do subscribe to my channel Link to Notebook: https://github.com/ShankarPendse/ML_tutorials/blob/main/univariate%20linear%20regression%20from%20scratch.ipynb

Download

0 formats

No download links available.

Implement Linear regression + gradient descent in python from scratch | univariate linear regression | NatokHD