Skip to content

AchilleasKn/GradientDescent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Gradient Descent Algorithm

Batch Gradient Descent for Linear Regression

In this notebook, the algorithm of the Batch Gradient Descent for Linear Regression is implemented. Initially, we define the linear regression function that is used to generate random data. This dataset is then used to fit the regression line. Afterwards, we implement the Gradient Descent model and evaluate it with respect to the cost (loss) function. Finally, we visualize the Gradient Descent method in an interactive plot.

The main aim of this notebook is to present how the Batch Gradient Descent algorithm can be used to fit a regression line to a set of data by calculating the coefficients (intercept and slope) of the regression equation.

About

Gradient Descent Optimization for Linear Regression

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published