Skip to content

In this project we learn various regularizers with using Linear regression as a tool

License

Notifications You must be signed in to change notification settings

aosingh/Regularization

Repository files navigation

Regularization

In this project we learn various regularizers with using Linear regression as a tool.

Clone this Repo

Clone this repository into whatever directory you'd like to work on it from:

git clone https://github.com/aosingh/Regularization.git

Install the following on your local system

Files

  • LinearRegression.py This class is responsible for performing Linear Regression using the gradient descent approach.

    • The basic idea is calculate a cost function and then move in the direction of negative gradient at each step. Finally, after certain number of iterations we converge and achieve the minimum value of the cost function. In our case the cost function that we are trying to minimize is the MEAN SQUARE ERROR.
  • LinearRegressionTester.py In this file we invoke our Linear Regression method defined in the above class and compare the output with sklearn's version.

About

In this project we learn various regularizers with using Linear regression as a tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages