Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradient Descend in Python [HACKTOBERFEST] #1785

Closed
Kumar-laxmi opened this issue Oct 4, 2023 · 0 comments
Closed

Gradient Descend in Python [HACKTOBERFEST] #1785

Kumar-laxmi opened this issue Oct 4, 2023 · 0 comments
Assignees
Labels
Hacktoberfest Issues/PR under hacktoberfest Optimization All optimization related algorithm Python Programs in Python

Comments

@Kumar-laxmi
Copy link
Owner

Gradient Descent is an iterative algorithm that is used to minimize a function by finding the optimal parameters. Gradient Descent can be applied to any dimension function i.e. 1-D, 2-D, 3-D. In this article, we will be working on finding global minima for parabolic function (2-D) and will be implementing gradient descent in python to find the optimal parameters for the linear regression equation (1-D). Before diving into the implementation part, let us make sure the set of parameters required to implement the gradient descent algorithm. To implement a gradient descent algorithm, we require a cost function that needs to be minimized, the number of iterations, a learning rate to determine the step size at each iteration while moving towards the minimum, partial derivatives for weight & bias to update the parameters at each iteration, and a prediction function.

image

@Kumar-laxmi Kumar-laxmi self-assigned this Oct 4, 2023
@Kumar-laxmi Kumar-laxmi added Python Programs in Python Optimization All optimization related algorithm Hacktoberfest Issues/PR under hacktoberfest labels Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Issues/PR under hacktoberfest Optimization All optimization related algorithm Python Programs in Python
Projects
None yet
Development

No branches or pull requests

1 participant