{"id":24605968,"url":"https://github.com/udacity-machinelearning-internship/regularization","last_synced_at":"2025-07-11T18:18:48.356Z","repository":{"id":239833267,"uuid":"800727958","full_name":"Udacity-MachineLearning-Internship/Regularization","owner":"Udacity-MachineLearning-Internship","description":"Implementing regularization using sckit-learn","archived":false,"fork":false,"pushed_at":"2024-05-17T03:41:36.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T08:24:10.245Z","etag":null,"topics":["machine-learning","regularization","sckit-learn"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Udacity-MachineLearning-Internship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-14T22:07:49.000Z","updated_at":"2024-12-17T20:45:17.000Z","dependencies_parsed_at":"2025-01-21T08:35:01.511Z","dependency_job_id":null,"html_url":"https://github.com/Udacity-MachineLearning-Internship/Regularization","commit_stats":null,"previous_names":["barasedih11/regularization","udacity-machinelearning-internship/regularization"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Udacity-MachineLearning-Internship%2FRegularization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Udacity-MachineLearning-Internship%2FRegularization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Udacity-MachineLearning-Internship%2FRegularization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Udacity-MachineLearning-Internship%2FRegularization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Udacity-MachineLearning-Internship","download_url":"https://codeload.github.com/Udacity-MachineLearning-Internship/Regularization/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244206608,"owners_count":20416086,"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","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":["machine-learning","regularization","sckit-learn"],"created_at":"2025-01-24T16:49:58.978Z","updated_at":"2025-03-18T10:41:08.652Z","avatar_url":"https://github.com/Udacity-MachineLearning-Internship.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv style=\"display:flex; justify-content: center; align-items: center ; height\" 100vh\" align=center\u003e\n\n![Regularization](https://github.com/BaraSedih11/Regularization/assets/98843912/b980c247-f923-4952-a35d-40f6038155f4)\n\n   ![GitHub repo size](https://img.shields.io/github/repo-size/BaraSedih11/Regularization) ![GitHub repo file count (file type)](https://img.shields.io/github/directory-file-count/BaraSedih11/Regularization) [![Python Version](https://img.shields.io/badge/python-3.8-blue)](https://www.python.org/downloads/release/python-380/)\n[![Pip Version](https://img.shields.io/badge/pip-21.0-orange)](https://pypi.org/project/pip/21.0/)\n ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/BaraSedih11/Regularization/main)\n[![Version](https://img.shields.io/badge/version-v1.0.0-blue)](https://github.com/BaraSedih11/Regularization/releases/tag/v1.0.0)\n[![Contributors](https://img.shields.io/github/contributors/BaraSedih11/Regularization)](https://github.com/BaraSedih11/Regularization/graphs/contributors)\n![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/BaraSedih11/Regularization)\n\u003c!-- ![GitHub issues](https://img.shields.io/github/issues-raw/BaraSedih11/Bookstore)  --\u003e\n\u003c/div\u003e\n\n\n# Overview\n\nPerhaps it's not too surprising at this point, but there are classes in sklearn that will help you perform regularization with your linear regression. You'll get practice with implementing that in this exercise. In this assignment's data.csv, you'll find data for a bunch of points including six predictor variables and one outcome variable. Use sklearn's Lasso(opens in a new tab) class to fit a linear regression model to the data, while also using L1 regularization to control for model complexity.\n\n## Requirements\n\nTo run the code in the Jupyter Notebook, you need to have Python installed on your system along with the following libraries:\n\n- NumPy\n- pandas\n- scikit-learn\n- matplotlib\n\nYou can install these libraries using pip:\n\n```bash\npip install numpy pandas scikit-learn matplotlib\n\n```\n\n## Usage\n\n1. Clone this repository to your local machine:\n\n```bash\ngit clone https://github.com/BaraSedih11/Regularization.git\n```\n\n2. Navigate to the repository directory:\n\n```bash\ncd Regularization\n```\n\n3. Open and run the Jupyter Notebook `Regularization.ipynb` using Jupyter Notebook or JupyterLab.\n\n4. Follow along with the code and comments in the notebook to understand how requalrization in linear regression is implemented using Python.\n\n\n## Acknowledgements\n\n- [scikit-learn](https://scikit-learn.org/): The scikit-learn library for machine learning in Python.\n- [NumPy](https://numpy.org/): The NumPy library for numerical computing in Python.\n- [pandas](https://pandas.pydata.org/): The pandas library for data manipulation and analysis in Python.\n- [matplotlib](https://matplotlib.org/): The matplotlib library for data visualization in Python.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudacity-machinelearning-internship%2Fregularization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudacity-machinelearning-internship%2Fregularization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudacity-machinelearning-internship%2Fregularization/lists"}