{"id":16464784,"url":"https://github.com/ekramasif/predict_the_diabetes","last_synced_at":"2025-10-11T11:46:55.423Z","repository":{"id":44802453,"uuid":"410263481","full_name":"ekramasif/Predict_the_Diabetes","owner":"ekramasif","description":"Training an Artificial Neural Network with this dataset and Predict the Diabetes.","archived":false,"fork":false,"pushed_at":"2022-03-16T17:39:21.000Z","size":3337,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-02T03:47:15.322Z","etag":null,"topics":["ann","artificial-neural-network","dataset","deep-learning","diabetes-prediction","machine-learning","neural-network","pima-indian-diabetes-dataset","tensorflow"],"latest_commit_sha":null,"homepage":"https://nbviewer.org/github/ekramasif/Predict_the_Diabetes/blob/main/main.ipynb","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ekramasif.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-09-25T12:13:00.000Z","updated_at":"2023-03-21T15:45:13.000Z","dependencies_parsed_at":"2022-08-25T13:01:52.175Z","dependency_job_id":null,"html_url":"https://github.com/ekramasif/Predict_the_Diabetes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ekramasif/Predict_the_Diabetes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekramasif%2FPredict_the_Diabetes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekramasif%2FPredict_the_Diabetes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekramasif%2FPredict_the_Diabetes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekramasif%2FPredict_the_Diabetes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekramasif","download_url":"https://codeload.github.com/ekramasif/Predict_the_Diabetes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekramasif%2FPredict_the_Diabetes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007065,"owners_count":26084230,"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-10-11T02:00:06.511Z","response_time":55,"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":["ann","artificial-neural-network","dataset","deep-learning","diabetes-prediction","machine-learning","neural-network","pima-indian-diabetes-dataset","tensorflow"],"created_at":"2024-10-11T11:29:48.420Z","updated_at":"2025-10-11T11:46:55.386Z","avatar_url":"https://github.com/ekramasif.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Training an Artificial Neural Network with this dataset and Predicting the Diabetes. [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ekramasif/Predict_the_Diabetes/blob/main/LICENSE)\n\n## About Dataset:\nThis dataset is originally from the National Institute of Diabetes and Digestive and Kidney Diseases. The objective of the dataset is to diagnostically predict whether or not a patient has diabetes, based on certain diagnostic measurements included in the dataset. Several constraints were placed on the selection of these instances from a larger database. In particular, all patients here are females at least 21 years old of Pima Indian heritage.\n\n## Training/Validation Split:\n#### I use to 'Randomly' select 80% data for Training and 20% data for Validation/Test purposes. Those 80-20% split should come uniformly from each of the TARGET types, meaning I was choosing exactly 40-10% data from TARGET = 0 and the other 40-10% from TARGET = 1 (but randomly within each target).\n\n## Dataset: The dataset contains the following Columns (for clarity see the 'data.tsv'):\n\n    1) Preg = Number of times pregnant.\n    2) GLU = Plasma glucose concentration a 2 hours in an oral glucose tolerance test\n    3) BP = Diastolic blood pressure (mm Hg)\n    4) ST = Triceps skin fold thickness (mm)\n    5) INS = 2-Hour serum insulin (mu U/ml)\n    6) BMI = Body mass index (weight in kg/(height in m)^2)\n    7) DPF = Diabetes pedigree function\n    8) Age = Age in years\n\n    9) Outcome  = 1 - YES (meaning the patient might Diabetes); 0 - NO (the patient doesn't Diabetes)\n    \n## parameters I use\n\n       Activation functions: Sigmoid\n       Optimizer: Adam\n       No. of Layers: 6 hidden layer \u0026 1 output layer\n       Units: 800, 500, 250, 150, 75, 40, 1\n       Loss: binary_crossentropy\n       Metrics: accuracy\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://ekramasif.me\"\u003e\n    \u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/ekramasif/ekramasif/main/EkramAsif.gif\" width=\"50%\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekramasif%2Fpredict_the_diabetes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekramasif%2Fpredict_the_diabetes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekramasif%2Fpredict_the_diabetes/lists"}