Gradient Descent
Gradient Descent is a optimization technique
In previous class we study about OLS to find m and b and you know that the y=mx+b is line of linear regression
Steps to apply Gradient Descent
1. Initialize value of m and b with random value
2. for i in epochs:
a. gradient descent formula -> p=p-lr*dl/dp
We have to apply these Steps for all the parameter.
Always remember gradient is dl/dp.
🖂 EMAIL-->aarushdixit73@gmail.com

Comments
Post a Comment