{"id":25900600,"url":"https://github.com/jigyasag18/multiple-disease-detection-app","last_synced_at":"2026-06-07T03:32:23.700Z","repository":{"id":266689611,"uuid":"899053831","full_name":"jigyasaG18/Multiple-Disease-Detection-App","owner":"jigyasaG18","description":"This repository contains the implementation of a Multiple Disease Detection System, which employs advanced machine learning techniques for early detection and prediction of prevalent diseases, including diabetes, heart disease, and Parkinson's disease. The system utilizes a variety of patient health metrics such as demographics and medical history.","archived":false,"fork":false,"pushed_at":"2024-12-05T17:40:28.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T02:17:46.552Z","etag":null,"topics":["data","datapreprocessing","machine-learning","machine-learning-algorithms","machinelearningmodel","prediction","python","streamlit","streamlit-webapp"],"latest_commit_sha":null,"homepage":"https://multiple-disease-prediction-app-project.streamlit.app/","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/jigyasaG18.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-12-05T14:36:59.000Z","updated_at":"2024-12-06T08:21:46.000Z","dependencies_parsed_at":"2024-12-05T18:44:08.829Z","dependency_job_id":null,"html_url":"https://github.com/jigyasaG18/Multiple-Disease-Detection-App","commit_stats":null,"previous_names":["jigyasag18/s","jigyasag18/multiple-disease-prediction-system-app","jigyasag18/multiple-disease-detection-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigyasaG18%2FMultiple-Disease-Detection-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigyasaG18%2FMultiple-Disease-Detection-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigyasaG18%2FMultiple-Disease-Detection-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigyasaG18%2FMultiple-Disease-Detection-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jigyasaG18","download_url":"https://codeload.github.com/jigyasaG18/Multiple-Disease-Detection-App/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241596263,"owners_count":19988045,"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":["data","datapreprocessing","machine-learning","machine-learning-algorithms","machinelearningmodel","prediction","python","streamlit","streamlit-webapp"],"created_at":"2025-03-03T02:17:48.279Z","updated_at":"2026-06-07T03:32:23.651Z","avatar_url":"https://github.com/jigyasaG18.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multiple Disease Detection System\n\n## Project Overview\nThe **Multiple Disease Detection System** aims to leverage cutting-edge machine learning techniques for the early detection and prediction of prevalent diseases such as diabetes, heart disease, and Parkinson's disease. The core objective of this project is to create an intuitive predictive model that helps healthcare professionals make informed decisions while diagnosing these diseases based on various health metrics.\n\nThe system is designed to handle input features including but not limited to patient demographics, medical history, and symptoms. By analyzing these features, multiple models train to classify and predict the probability of disease presence effectively.\n\n## Table of Contents\n- [Features](#features)\n- [Technologies Used](#technologies-used)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Model Performance](#model-performance)\n- [Directory Structure](#directory-structure)\n- [Contributors](#contributors)\n- [License](#license)\n- [Future Work](#future-work)\n\n## Features\n- **Disease Prediction**: Predicts the likelihood of diabetes, heart disease, and Parkinson's disease based on patient data.\n- **Model Accuracy Reporting**: Displays detailed accuracy metrics for training and test datasets.\n- **Modular Architecture**: Each disease has its own model, allowing for specialized adjustments and enhancements.\n- **User-Friendly Interface**: Utilizes Jupyter Notebooks for exploratory data analysis, model training, and predictions.\n- **Visualization Tools**: Graphs and charts to visualize model performance and data distributions, making it easier to interpret results.\n- **Machine Learning Pipeline**: Includes preprocessing steps like data cleaning and normalization, ensuring that the data fed into the models is of high quality.\n\n## Technologies Used\nThis project employs a variety of technologies and libraries that are essential for data science and machine learning:\n\n- **Python**: Programming language used for building the project and data manipulation.\n- **Pandas**: Library for data manipulation and analysis, particularly useful for tabular data operations.\n- **NumPy**: Provides support for numerical operations, particularly for arrays and mathematical functions.\n- **scikit-learn**: A machine learning library that provides simple and efficient tools for predictive data analysis including model selection and evaluation.\n- **Jupyter Notebook**: Interactive environment for developing and documenting the process of data exploration and model building.\n- **Google Colab**: A cloud platform for running Jupyter notebooks, facilitating collaboration and access to additional resources.\n- **Joblib**: Used for saving and loading trained model objects to enable easy reuse without retraining.\n\n## Installation\nTo set up the project on your local machine or the cloud, follow these steps:\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/yourusername/multiple-disease-detection.git\n   cd multiple-disease-detection\n   ```\n\n2. **Set up a Python virtual environment (optional but recommended)**:\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows use: venv\\Scripts\\activate\n   ```\n\n3. **Install the required packages**:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. **Open Jupyter Notebook**:\n   ```bash\n   jupyter notebook\n   ```\n\n5. **Run the initial data analysis and model training scripts** found in the notebooks under `colab_files_to_train_models` directory.\n\n## Usage\nThe Multiple Disease Detection System can be utilized in two main ways: **Training** new models on new data and **Making Predictions** using the existing models.\n\n### Training Models\nYou can train models on health data with the following steps:\n1. Load the dataset from the `dataset` directory.\n2. Preprocess the data by handling missing values, encoding categorical features, and normalizing numerical values.\n3. Split the data into training and testing sets.\n4. Train models (e.g., Logistic Regression, Decision Trees, etc.) and evaluate their performance using accuracy scores.\n5. Save the trained models for future use.\n\n#### Example of Training Code Snippet\n```python\nfrom sklearn.model_selection import train_test_split\nfrom sklearn.linear_model import LogisticRegression\nfrom sklearn.metrics import accuracy_score\nimport pandas as pd\n\n# Load the dataset\ndata = pd.read_csv('dataset/diabetes_data.csv')\nX = data.drop('Outcome', axis=1)\nY = data['Outcome']\n\n# Split the data\nX_train, X_test, Y_train, Y_test = train_test_split(X, Y, test_size=0.2, random_state=42)\n\n# Train the model\nmodel = LogisticRegression()\nmodel.fit(X_train, Y_train)\n\n# Save the model\nimport joblib\njoblib.dump(model, 'saved models/diabetes_model.sav')\n```\n\n### Making Predictions\nTo make predictions with pre-trained models:\n1. Load the appropriate model from the `saved models` directory.\n2. Prepare the new patient data.\n3. Pass the data to the model and get predictions.\n\n#### Example of Prediction Code Snippet\n```python\n# Load the saved model for diabetes prediction\nmodel = joblib.load('saved models/diabetes_model.sav')\n\n# Prepare new patient data\nnew_data = pd.DataFrame({\n    'Feature1': [value1],\n    'Feature2': [value2],\n    ...\n})\n\n# Make predictions\npredictions = model.predict(new_data)\nprint('Predicted Outcome: ', predictions)\n```\n\n## Model Performance\nThe effectiveness of different models has been evaluated on training and test datasets. Here are the accuracy metrics:\n\n### Diabetes Model\n- **Training Data Accuracy**: 85.12%\n- **Test Data Accuracy**: 81.97%\n\n### Heart Disease Model\n- **Training Data Accuracy**: 87.18%\n- **Test Data Accuracy**: 82.50%  (example value—replace with actual)\n\n### Parkinson's Disease Model\n- **Training Data Accuracy**: 78.34%\n- **Test Data Accuracy**: 77.27%\n\nEach model's performance can be improved by conducting hyperparameter tuning or using ensemble methods.\n\n## Directory Structure\nHere’s a brief on the main components of the project:\n\n```\n.\n├── colab_files_to_train_models     # Contains Jupyter notebooks for training models\n├── dataset                          # Raw datasets used for training\n│   ├── diabetes_data.csv         \n│   ├── heart_disease_data.csv      \n│   └── parkinsons_data.csv         \n├── saved models                     # Directory storing trained models\n│   ├── diabetes_model.sav\n│   ├── heart_disease_model.sav\n│   └── parkinsons_model.sav\n├── requirements.txt                 # List of required libraries\n└── README.md                        # Project documentation\n```\n\n## License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details on usage and distribution.\n\n## Future Work\n- **Expand Disease Models**: Train models for additional diseases and improve the current models with more features.\n- **Implement User Interface**: Create a web application for easier access to the prediction system.\n- **Model Interpretability**: Utilize libraries like SHAP or LIME to understand the decisions made by machine learning models, increasing trust and transparency.\n- **Deploy as an API**: Set up a RESTful API for real-time predictions on new data.\n- **Integration with Electronic Health Records (EHR)**: Explore avenues for integrating this model into healthcare systems for real-time monitoring and predictions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjigyasag18%2Fmultiple-disease-detection-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjigyasag18%2Fmultiple-disease-detection-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjigyasag18%2Fmultiple-disease-detection-app/lists"}