{"id":18557692,"url":"https://github.com/aosingh/regularization","last_synced_at":"2025-10-25T17:20:20.184Z","repository":{"id":98969555,"uuid":"74494323","full_name":"aosingh/Regularization","owner":"aosingh","description":"In this project we learn various regularizers with using Linear regression as a tool","archived":false,"fork":false,"pushed_at":"2016-12-06T02:47:38.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-15T14:11:31.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aosingh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-22T16:56:52.000Z","updated_at":"2016-11-22T17:19:40.000Z","dependencies_parsed_at":"2023-04-16T08:47:16.394Z","dependency_job_id":null,"html_url":"https://github.com/aosingh/Regularization","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aosingh/Regularization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosingh%2FRegularization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosingh%2FRegularization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosingh%2FRegularization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosingh%2FRegularization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aosingh","download_url":"https://codeload.github.com/aosingh/Regularization/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosingh%2FRegularization/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280989213,"owners_count":26425644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T21:37:45.249Z","updated_at":"2025-10-25T17:20:20.157Z","avatar_url":"https://github.com/aosingh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Regularization\nIn this project we learn various regularizers with using Linear regression as a tool.\n\n### Clone this Repo\nClone this repository into whatever directory you'd like to work on it from:\n\n```bash\ngit clone https://github.com/aosingh/Regularization.git\n```\n\n### Install the following on your local system\n*   [Python 2.7](https://www.python.org/download/releases/2.7/)\n*   [pandas](http://pandas.pydata.org/)\n    *   `pip install pandas`\n*   [scikit-learn](http://scikit-learn.org/stable/)\n    *   `pip install -U scikit-learn`\n    \n### Files \n\n* `LinearRegression.py`\nThis class is responsible for performing [Linear Regression](https://en.wikipedia.org/wiki/Linear_regression) using the [gradient descent approach](https://en.wikipedia.org/wiki/Gradient_descent).\n\n    * The basic idea is calculate a cost function and then move in the direction of negative gradient at each step.\n      Finally, after certain number of iterations we converge and achieve the minimum value of the cost function.\n      In our case the cost function that we are trying to minimize is the MEAN SQUARE ERROR.\n\n\n* `LinearRegressionTester.py`\nIn this file we invoke our Linear Regression method defined in the above class and compare the output with sklearn's version.\n     \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faosingh%2Fregularization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faosingh%2Fregularization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faosingh%2Fregularization/lists"}