{"id":21560636,"url":"https://github.com/armanx200/diabetes_model","last_synced_at":"2026-05-20T19:09:10.078Z","repository":{"id":249503787,"uuid":"831697603","full_name":"Armanx200/Diabetes_Model","owner":"Armanx200","description":"🚀 A machine learning model predicting diabetes with logistic regression, feature scaling, and VIF analysis. 📊🩺","archived":false,"fork":false,"pushed_at":"2024-07-21T11:26:23.000Z","size":1559,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T04:32:59.632Z","etag":null,"topics":["arman-kianian","classification","data-analysis","data-science","data-visualization","feature-engineering","healthcare","logistic-regression","machine-learning","model-evaluation","predictive-modeling","python","scaling","scikit-learn","statistical-analysis","statsmodels"],"latest_commit_sha":null,"homepage":"https://github.com/Armanx200","language":"Python","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/Armanx200.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-07-21T11:08:14.000Z","updated_at":"2024-09-04T13:42:32.000Z","dependencies_parsed_at":"2024-07-21T12:45:06.184Z","dependency_job_id":null,"html_url":"https://github.com/Armanx200/Diabetes_Model","commit_stats":null,"previous_names":["armanx200/diabetes_model"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Armanx200/Diabetes_Model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FDiabetes_Model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FDiabetes_Model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FDiabetes_Model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FDiabetes_Model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Armanx200","download_url":"https://codeload.github.com/Armanx200/Diabetes_Model/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FDiabetes_Model/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33271587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T15:12:43.734Z","status":"ssl_error","status_checked_at":"2026-05-20T15:12:42.300Z","response_time":356,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["arman-kianian","classification","data-analysis","data-science","data-visualization","feature-engineering","healthcare","logistic-regression","machine-learning","model-evaluation","predictive-modeling","python","scaling","scikit-learn","statistical-analysis","statsmodels"],"created_at":"2024-11-24T09:16:36.593Z","updated_at":"2026-05-20T19:09:10.048Z","avatar_url":"https://github.com/Armanx200.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n\n# Diabetes Prediction Model 🩺📊\n\nWelcome to the Diabetes Prediction Model repository! This project is aimed at predicting diabetes using logistic regression on a dataset. Below you'll find details on how to use the model, its performance, and how to get started.\n\n## 📋 Project Overview\n\nThis project involves building a logistic regression model to predict diabetes based on various features. The dataset used includes information on demographics, health conditions, and lifestyle factors.\n\n## 🚀 Getting Started\n\n1. **Clone the Repository**\n   ```bash\n   git clone https://github.com/Armanx200/Diabetes_Model.git\n   cd Diabetes_Model\n   ```\n\n2. **Install Dependencies**\n   Ensure you have Python 3.12 or later. Install the required packages using:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. **Run the Model**\n   Execute the following script to run the model:\n   ```bash\n   python Model.py\n   ```\n\n## 📊 Model Performance\n\nThe logistic regression model's performance is summarized below:\n\n- **Accuracy**: 96.07%\n- **Confusion Matrix**:\n  ```\n  [[18140   157]\n   [  629  1074]]\n  ```\n- **Classification Report**:\n  ```\n                precision    recall  f1-score   support\n\n             0       0.97      0.99      0.98     18297\n             1       0.87      0.63      0.73      1703\n\n      accuracy                           0.96     20000\n     macro avg       0.92      0.81      0.86     20000\n  weighted avg       0.96      0.96      0.96     20000\n  ```\n\n## 📈 Visualizations\n\nHere is a visualization of the model's performance:\n\n![Model Performance](https://github.com/Armanx200/Diabetes_Model/blob/main/Figure.png)\n\n## 🔧 Requirements\n\nThis project requires the following Python packages:\n\n- pandas\n- numpy\n- matplotlib\n- seaborn\n- scikit-learn\n- statsmodels\n\nThese dependencies are listed in `requirements.txt`.\n\n## 📬 Contact\n\nFeel free to reach out if you have any questions or suggestions:\n\n- **GitHub**: [Armanx200](https://github.com/Armanx200)\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmanx200%2Fdiabetes_model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmanx200%2Fdiabetes_model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmanx200%2Fdiabetes_model/lists"}