{"id":26063174,"url":"https://github.com/gorav22/medical-diagnosis","last_synced_at":"2026-04-12T12:33:19.726Z","repository":{"id":281312059,"uuid":"944896645","full_name":"Gorav22/Medical-Diagnosis","owner":"Gorav22","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-08T07:39:41.000Z","size":163,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T08:28:04.506Z","etag":null,"topics":["dataset","machine-learning","numpy","pandas","scikit-learn","scikitlearn-machine-learning","streamlit","svm","svm-model"],"latest_commit_sha":null,"homepage":"https://gorav22-disease-prediction.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/Gorav22.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":"2025-03-08T07:21:13.000Z","updated_at":"2025-03-08T07:45:58.000Z","dependencies_parsed_at":"2025-03-08T08:38:26.815Z","dependency_job_id":null,"html_url":"https://github.com/Gorav22/Medical-Diagnosis","commit_stats":null,"previous_names":["gorav22/medical-diagnosis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gorav22%2FMedical-Diagnosis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gorav22%2FMedical-Diagnosis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gorav22%2FMedical-Diagnosis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gorav22%2FMedical-Diagnosis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gorav22","download_url":"https://codeload.github.com/Gorav22/Medical-Diagnosis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242579738,"owners_count":20152976,"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":["dataset","machine-learning","numpy","pandas","scikit-learn","scikitlearn-machine-learning","streamlit","svm","svm-model"],"created_at":"2025-03-08T16:31:55.838Z","updated_at":"2026-04-12T12:33:19.660Z","avatar_url":"https://github.com/Gorav22.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Medical Diagnosis Web App\n\nThis is a Streamlit web application that predicts various diseases based on user input. It uses pre-trained machine learning models to provide predictions for diabetes, heart disease, Parkinson's disease, lung cancer, and hypothyroidism.\n\n## Features\n\n* **Disease Prediction:** Predicts diabetes, heart disease, Parkinson's disease, lung cancer, and hypothyroidism.\n* **User-Friendly Interface:** Utilizes Streamlit for an interactive and easy-to-use interface.\n* **Customizable Styling:** Custom CSS is used to style the app with a dark background and red text, providing a distinctive look.\n* **Background Image:** A medical-themed background image enhances the app's visual appeal.\n* **Model Integration:** Pre-trained machine learning models (saved as pickle files) are used for predictions.\n\n## Technologies Used\n\n* **Python:** The core programming language.\n* **Streamlit:** For creating the web application.\n* **Pickle:** For serializing and deserializing machine learning models.\n* **Scikit-learn (sklearn):** For the machine learning models (implicitly used in the pickled models).\n* **streamlit-option-menu:** for the option menu(even though this code uses selectbox)\n\n## Setup and Installation\n\n1.  **Clone the repository:**\n\n    ```bash\n    git clone https://github.com/Gorav22/Medical-Diagnosis\n    cd Medical-Diagnosis\n    ```\n\n2.  **Create a virtual environment (recommended):**\n\n    ```bash\n    python -m venv venv\n    venv\\Scripts\\activate  # On Windows\n    source venv/bin/activate  # On macOS and Linux\n    ```\n\n3.  **Install the required packages:**\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n4.  **Place your machine learning models:**\n    * Ensure you have the following pickle files in a folder named `Models` in the same directory as your `app.py`(or the name you save your python file as) file:\n        * `diabetes_model.sav`\n        * `heart_disease_model.sav`\n        * `parkinsons_model.sav`\n        * `lungs_disease_model.sav`\n        * `Thyroid_model.sav`\n\n5.  **Run the Streamlit app:**\n\n    ```bash\n    streamlit run app.py\n    ```\n\n## Usage\n\n1.  Open the Streamlit app in your web browser.\n2.  Select a disease from the dropdown menu.\n3.  Enter the required input values.\n4.  Click the \"Test Result\" button to get the prediction.\n5.  The prediction result will be displayed on the screen.\n\n## Note\n\n* The accuracy of the predictions depends on the quality and training of the machine learning models.\n* This application is for informational purposes only and should not be used for medical diagnosis. Always consult with a healthcare professional for medical advice.\n* The streamlit_option_menu import is in the code, but a streamlit selectbox is used. If you want to use the option menu, you will need to change the code.\n\n## Customization\n\n* You can customize the styling of the app by modifying the CSS in the `hide_st_style` and `page_bg_img` variables.\n* Replace the background image URL with your own image.\n* Modify the machine learning models and input fields as needed.\n* To use the option menu, install the library, and replace the selectbox with the option menu code from the streamlit option menu documentation.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorav22%2Fmedical-diagnosis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgorav22%2Fmedical-diagnosis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorav22%2Fmedical-diagnosis/lists"}