{"id":23862429,"url":"https://github.com/coder5omkar/simple-linear-regression","last_synced_at":"2025-12-31T14:42:08.331Z","repository":{"id":269674440,"uuid":"908130552","full_name":"coder5omkar/Simple-Linear-Regression","owner":"coder5omkar","description":"Linear regression is one of the most fundamental algorithms in machine learning and statistics used for predicting a continuous dependent variable (target) based on one or more independent variables (features). The key idea behind linear regression is to find the relationship between variables by fitting a straight line through the data points.","archived":false,"fork":false,"pushed_at":"2024-12-25T15:37:25.000Z","size":168,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T12:14:07.994Z","etag":null,"topics":["data-science","machine-learning","simple-linear-regression","sklearn-library"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/coder5omkar.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-12-25T08:06:15.000Z","updated_at":"2024-12-25T15:37:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"17cc864d-0d17-417a-a999-c0f6e6035b29","html_url":"https://github.com/coder5omkar/Simple-Linear-Regression","commit_stats":null,"previous_names":["coder5omkar/simple-linear-regression"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coder5omkar/Simple-Linear-Regression","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder5omkar%2FSimple-Linear-Regression","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder5omkar%2FSimple-Linear-Regression/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder5omkar%2FSimple-Linear-Regression/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder5omkar%2FSimple-Linear-Regression/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder5omkar","download_url":"https://codeload.github.com/coder5omkar/Simple-Linear-Regression/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder5omkar%2FSimple-Linear-Regression/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265815998,"owners_count":23833057,"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":["data-science","machine-learning","simple-linear-regression","sklearn-library"],"created_at":"2025-01-03T07:11:08.201Z","updated_at":"2025-12-31T14:42:08.280Z","avatar_url":"https://github.com/coder5omkar.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp\u003e\n\u003cimg src=\"https://img.shields.io/badge/python-3.12.4-blue?logo=python\u0026logoColor=white\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/numpy-1.26.4-blue?logo=numpy\u0026logoColor=white\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/pandas-2.2.2-blue?logo=pandas\u0026logoColor=white\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/seaborn-0.13.2-blue?logo=seaborn\u0026logoColor=white\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/matplotlib-3.9.2-blue?logo=matplotlib\u0026logoColor=white\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/scikit--learn-1.5.1-blue?logo=scikitlearn\u0026logoColor=white\" alt=\"scikit-learn version 1.5.1\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/statsmodels-0.14.2-orange?logo=statsmodels\u0026logoColor=white\" alt=\"statsmodels version 0.14.2\" /\u003e\n\u003c/p\u003e\n\n# Simple Linear Regression 🔥\n\n## 📋 General Information\n``` \nThis repository provides an in-depth understanding and practical implementation of Simple Linear Regression (SLR), a foundational machine learning algorithm. SLR is used to model the relationship between two variables: a dependent variable (target) and an independent variable (predictor). It assumes a linear relationship between them and fits a straight line (y = mx + c) to the data.\n\nKey features of this repository include:\n\nExplanation of SLR concepts with mathematical derivations.\nPython implementation using numpy, scikit-learn, and statsmodels.\nInteractive visualizations for better understanding.\nDatasets for testing and experimentation.\nPerformance evaluation metrics like RMSE and R².\nThis repo is ideal for beginners and enthusiasts aiming to master linear regression.\n```\n\n## 🛠️ Technologies Used\n- [Python](https://www.python.org/) version: 3.12.4\n- [Numpy](https://numpy.org/) version: 1.26.4\n- [Pandas](https://pandas.pydata.org/) version: 2.2.2\n- [Seaborn](https://seaborn.pydata.org/) version: 0.13.2\n- [Matplotlib](https://matplotlib.org/) version: 3.9.2\n- [scikit-learn](https://scikit-learn.org/) version: 1.5.1\n- [statsmodels](https://statsmodels.org/) version: 0.14.2\n\n## 🚀 **Getting Started** (In Anaconda PowerShell Prompt)\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/coder5omkar/Simple-Linear-Regression.git\n   ```\n\n2. Navigate to the project directory:\n   ```bash\n   cd Simple-Linear-Regression\n   ```\n\n3. Open the notebook:\n   ```bash\n   jupyter notebook SLR.ipynb\n   ```\n\n---\n\n\n## 🤝 Acknowledgements\n- This project was inspired by IIT-B AI-ML program at Upgrad\n\nDeveloped as part of the ML-1 Module assignment required for Post Graduate Diploma in Machine Learning and AI - IIIT,Bangalore.\n\nThis project is open source and available under the [MIT License](https://github.com/coder5omkar/Simple-Linear-Regression/blob/master/licence.txt).\n\n\n## Contact\nCreated by [@in/omkaramale](https://github.com/coder5omkar) - feel free to contact me!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder5omkar%2Fsimple-linear-regression","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder5omkar%2Fsimple-linear-regression","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder5omkar%2Fsimple-linear-regression/lists"}