{"id":19923048,"url":"https://github.com/abdealijaroli/diabetes-classification-algorithms","last_synced_at":"2026-05-13T03:39:42.005Z","repository":{"id":51287579,"uuid":"368254629","full_name":"abdealijaroli/diabetes-classification-algorithms","owner":"abdealijaroli","description":"Basic implementation of different classifiers for predicting whether a patient has diabetes or not. ","archived":false,"fork":false,"pushed_at":"2021-05-17T16:55:41.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T10:17:34.054Z","etag":null,"topics":["diabetes","gradient-boost","logistic-regression","random-forest","svm"],"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/abdealijaroli.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}},"created_at":"2021-05-17T16:35:28.000Z","updated_at":"2023-03-04T07:40:30.000Z","dependencies_parsed_at":"2022-09-08T21:42:41.146Z","dependency_job_id":null,"html_url":"https://github.com/abdealijaroli/diabetes-classification-algorithms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abdealijaroli/diabetes-classification-algorithms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdealijaroli%2Fdiabetes-classification-algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdealijaroli%2Fdiabetes-classification-algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdealijaroli%2Fdiabetes-classification-algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdealijaroli%2Fdiabetes-classification-algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdealijaroli","download_url":"https://codeload.github.com/abdealijaroli/diabetes-classification-algorithms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdealijaroli%2Fdiabetes-classification-algorithms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32967211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"online","status_checked_at":"2026-05-13T02:00:07.132Z","response_time":115,"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":["diabetes","gradient-boost","logistic-regression","random-forest","svm"],"created_at":"2024-11-12T22:12:50.543Z","updated_at":"2026-05-13T03:39:41.990Z","avatar_url":"https://github.com/abdealijaroli.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Diabetes-Classification\n\nBasic implementation of different classifiers for predicting whether a patient has diabetes or not. This is simple binary classification based on the `pima-indian-diabetes-dataset` found on Kaggle. You can find the dataset [here](https://www.kaggle.com/uciml/pima-indians-diabetes-database).\n\n### Classifiers used\n\nExperimented with the following classifiers:\n\n- SVM\n- Random Forest\n- Logistic Regression\n- Naive Bayes\n- AdaBoost\n- Gradient Boosting\n\nAlso played around cleaning and standardizing the dataset.\n\n### Prerequisites\n\n- python-2.7.11\n- scikit-learn\n- numpy\n- pandas\n\n\n### How to Run\n\n- Clone the repository\n- Run the file corresponding to the classifier you want.\n  - For SVM: `python svm.py`\n  - For Ada Boost: `python ada_boost.py`\n  - For Gradient Boost: `python grad_boost.py`\n  - For Naive Bayes: `python naive_bayes.py`\n  - For Random Forest: `python random_forest.py`\n  - For Logistic Regression: `python log_reg.py`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdealijaroli%2Fdiabetes-classification-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdealijaroli%2Fdiabetes-classification-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdealijaroli%2Fdiabetes-classification-algorithms/lists"}