{"id":29032817,"url":"https://github.com/mrsudo404/disease_prediction_machinelearning_matlab","last_synced_at":"2025-06-26T11:02:55.886Z","repository":{"id":299629930,"uuid":"976975363","full_name":"mrsudo404/Disease_Prediction_MachineLearning_MATLAB","owner":"mrsudo404","description":"A Machine Learning project using MATLAB to predict diabetes using Logistic Regression and SVM. Includes GUI, accuracy metrics, and confusion matrix.","archived":false,"fork":false,"pushed_at":"2025-06-17T13:11:02.000Z","size":173,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T11:02:00.455Z","etag":null,"topics":["biomedical-engineering","matlab","matlab-application","students-project"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","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/mrsudo404.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}},"created_at":"2025-05-03T06:13:26.000Z","updated_at":"2025-06-17T13:14:33.000Z","dependencies_parsed_at":"2025-06-17T14:35:32.563Z","dependency_job_id":null,"html_url":"https://github.com/mrsudo404/Disease_Prediction_MachineLearning_MATLAB","commit_stats":null,"previous_names":["mrsudo404/disease_prediction_machinelearning_matlab"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrsudo404/Disease_Prediction_MachineLearning_MATLAB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsudo404%2FDisease_Prediction_MachineLearning_MATLAB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsudo404%2FDisease_Prediction_MachineLearning_MATLAB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsudo404%2FDisease_Prediction_MachineLearning_MATLAB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsudo404%2FDisease_Prediction_MachineLearning_MATLAB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrsudo404","download_url":"https://codeload.github.com/mrsudo404/Disease_Prediction_MachineLearning_MATLAB/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsudo404%2FDisease_Prediction_MachineLearning_MATLAB/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262053536,"owners_count":23251214,"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":["biomedical-engineering","matlab","matlab-application","students-project"],"created_at":"2025-06-26T11:00:54.889Z","updated_at":"2025-06-26T11:02:55.872Z","avatar_url":"https://github.com/mrsudo404.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧠 Disease Prediction using Logistic Regression (MATLAB)\n\nA Machine Learning project using MATLAB to predict diabetes using Logistic Regression and SVM. Includes GUI, accuracy metrics, and confusion matrix.\n\n## 📂 Dataset\n\nWe use the **Pima Indians Diabetes Dataset**:\n\n- **Filename**: `diabetes_dataset.csv`  \n- **Source**: [Kaggle - Pima Indians Diabetes Database](https://www.kaggle.com/datasets/uciml/pima-indians-diabetes-database)  \n- **Inputs**:\n  - Pregnancies\n  - Glucose\n  - BloodPressure\n  - SkinThickness\n  - Insulin\n  - BMI\n  - DiabetesPedigreeFunction\n  - Age\n\n\u003e ⚠️ Place the CSV file in your MATLAB working directory before running the code.\n\n---\n\n## 🚀 Project Features\n\n- ✅ Data Preprocessing \u0026 Normalization  \n- ✅ Logistic Regression \u0026 SVM Model Training  \n- ✅ Accuracy \u0026 Confusion Matrix Reporting  \n- ✅ Simple GUI for live predictions  \n- ✅ Tailored for Biomedical Engineering 4th semester students\n\n---\n\n## 🧪 How It Works\n\n1. Run `disease_prediction_main.m`\n   - Loads dataset\n   - Preprocesses input features\n   - Splits data into training/testing\n   - Trains **Logistic Regression** and **SVM**\n   - Evaluates accuracy and shows confusion matrix\n\n2. Use `disease_predictor_gui.m` to:\n   - Enter 8 health parameters manually\n   - Predict diabetes status using saved model\n   - See result instantly in the GUI\n\n---\n\n## 📊 Sample Confusion Matrix (Logistic Regression)\n\n```\nPredicted →\n            0      1\nActual ↓\n0         40      10  \n1         8       30  \n```\n\n- **Accuracy**: ~79.74%  \n- (Sample output; may vary based on dataset split)\n\n---\n\n## 📁 Project Structure\n\n```\nDiseasePredictionProject/\n│\n├── diabetes_dataset.csv\n├── disease_prediction_main.m\n├── train_logistic_model.m\n├── train_svm_model.m\n├── evaluate_model.m\n├── disease_predictor_gui.m\n├── logistic_model.mat\n├── svm_model.mat\n└── README.md\n```\n\n---\n\n## 📌 Requirements\n\n- MATLAB R2021a or later  \n- Statistics and Machine Learning Toolbox  \n\n---\n\n## 📘 License\n\nThis project is open for educational use only. Not intended for medical decision-making.\n\n---\n\n## 🙋‍♂️ Maintainer\n\nA GUI-based MATLAB project developed by me for BS Biomedical Technology Engineering students to understand and implement disease prediction using machine learning techniques.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsudo404%2Fdisease_prediction_machinelearning_matlab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrsudo404%2Fdisease_prediction_machinelearning_matlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsudo404%2Fdisease_prediction_machinelearning_matlab/lists"}