Skip to content

wptasinski/ML---Linear-Regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning linear regression using gradient descent algorithm

This simple script was made in order to understand how ML alorithms works. It has also option for calculating new theta with regularization parameter.


Math formulas which were used for this algorithm

  • Cost function

  • Updating theta prameters

  • Future scalling

  • Hypothesis function

    For hypotheshis function there is linear regression aswell as polynomial regression.

Data set used for this example contains house pricing.

Andrew's Ng course which I used while writing this algorithm can be found on this website: https://www.coursera.org/learn/machine-learning to which I encourage you cordially.


Todo:

  • Improve Stochastic Gradient Descent algorithm

About

Linear Regression - Gradient Descent algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages