{"id":33898232,"url":"https://github.com/oceanuz/car-price-regression","last_synced_at":"2025-12-11T20:44:33.837Z","repository":{"id":328079449,"uuid":"1114157964","full_name":"oceanuz/car-price-regression","owner":"oceanuz","description":"A comprehensive ML evaluation and improvement notebook for a car price prediction model. It includes topics such as scoring with r2, cross-validation, overfitting/underfitting diagnosis, and polynomial regression. *Ridge regression* is applied to reduce overfitting, and (GridSearchCV) techniques are used to find the best alpha hyperparameter.","archived":false,"fork":false,"pushed_at":"2025-12-11T01:50:47.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-11T16:37:10.480Z","etag":null,"topics":["cross-validation","data-science","grid-search","hyperparameter-tuning","machine-learning","machine-learning-models","model-evaluation","overfitting","python","regression","ridge-regression","scikit-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/oceanuz.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-11T01:34:10.000Z","updated_at":"2025-12-11T01:50:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/oceanuz/car-price-regression","commit_stats":null,"previous_names":["oceanuz/car-price-regression"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/oceanuz/car-price-regression","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanuz%2Fcar-price-regression","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanuz%2Fcar-price-regression/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanuz%2Fcar-price-regression/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanuz%2Fcar-price-regression/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oceanuz","download_url":"https://codeload.github.com/oceanuz/car-price-regression/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanuz%2Fcar-price-regression/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27669759,"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-12-11T02:00:11.302Z","response_time":56,"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":["cross-validation","data-science","grid-search","hyperparameter-tuning","machine-learning","machine-learning-models","model-evaluation","overfitting","python","regression","ridge-regression","scikit-learn"],"created_at":"2025-12-11T20:44:33.302Z","updated_at":"2025-12-11T20:44:33.831Z","avatar_url":"https://github.com/oceanuz.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚗 Model Evaluation and Refinement for Car Price Prediction\n\nThis repository contains a comprehensive Jupyter Notebook (`Model_Evaluation_and_Refinement_cars.ipynb`) focused on the essential steps of **Machine Learning model evaluation and refinement**.\n\nThe analysis uses a car features dataset to predict prices, demonstrating key concepts from model selection to hyperparameter tuning using Python and `scikit-learn`.\n\n## 📂 Notebook Contents\n\nThe notebook systematically covers the following crucial topics:\n\n1.  **Data Splitting:** Splitting the dataset into **training** and **testing** sets.\n2.  **Model Scoring:** Evaluating performance using the **$R^2$ (Coefficient of Determination)** metric.\n3.  **Cross-Validation:** Implementation of **K-Fold Cross-Validation** (using `cross_val_score` and `cross_val_predict`).\n4.  **Model Diagnostics:** Identification and visualization of **Overfitting** and **Underfitting**, especially with **Polynomial Regression**.\n5.  **Regularization:** Application of **Ridge Regression** to control model complexity.\n6.  **Hyperparameter Tuning:** Using **Grid Search (`GridSearchCV`)** to find the optimal $\\alpha$ (alpha) hyperparameter for the Ridge model.\n\n## 🛠️ Requirements\n\nTo run this notebook, you will need the following Python libraries:\n\n* `pandas`\n* `numpy`\n* `scikit-learn` (`sklearn`)\n* `matplotlib`\n* `seaborn`\n\nInstall them via pip:\n\n```bash\npip install pandas numpy scikit-learn matplotlib seaborn\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foceanuz%2Fcar-price-regression","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foceanuz%2Fcar-price-regression","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foceanuz%2Fcar-price-regression/lists"}