https://github.com/machinelearningprodigy/liver-disease-detect
A simple Liver Disease Prediction App built using Streamlit and Machine Learning. This app predicts the presence of liver disease based on health parameters. π₯π©Ί
https://github.com/machinelearningprodigy/liver-disease-detect
algorithms multiclass-classification pandas pickle python3 streamlit xgboost
Last synced: 3 months ago
JSON representation
A simple Liver Disease Prediction App built using Streamlit and Machine Learning. This app predicts the presence of liver disease based on health parameters. π₯π©Ί
- Host: GitHub
- URL: https://github.com/machinelearningprodigy/liver-disease-detect
- Owner: machinelearningprodigy
- Created: 2024-01-29T18:42:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-27T19:00:19.000Z (7 months ago)
- Last Synced: 2025-03-27T06:32:12.991Z (6 months ago)
- Topics: algorithms, multiclass-classification, pandas, pickle, python3, streamlit, xgboost
- Language: Python
- Homepage: https://liver-disease-detection.streamlit.app/
- Size: 95.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π¦° Liver Disease Detection App
A simple **Liver Disease Prediction App** built using **Streamlit** and **Machine Learning**. This app predicts the presence of liver disease based on health parameters. π₯π©Ί
## β¨ Features
- **User-friendly UI** with sliders & radio buttons π±οΈ
- **Machine Learning Model** for accurate predictions π€
- **Color-coded results**: No Disease π’ | Disease Present π΄
- **Interactive user inputs** for better experience π―## π οΈ Technologies Used
- **Python** π
- **Streamlit** π
- **Pandas** π
- **XGBoost** β‘
- **Pickle (Model Loading)** π¦## π How to Run
### 1οΈβ£ Install Dependencies
```sh
pip install streamlit pandas xgboost pickle-mixin
```### 2οΈβ£ Run the App
```sh
streamlit run app.py
```## π Input Features
- **Age** πΆπ΄
- **Gender** π»
- **Total Bilirubin** π©Έ
- **Direct Bilirubin** π©Έ
- **Alkaline Phosphatase** π₯
- **Alamine Aminotransferase (SGPT)** π§¬
- **Aspartate Aminotransferase (SGOT)** π§ͺ
- **Total Proteins** ποΈββοΈ
- **Albumin Level** π₯
- **Albumin/Globulin Ratio** βοΈ## π― Prediction
The model predicts liver disease risk based on user inputs and displays the result with a **color-coded message**:
- π’ **No Liver Disease**
- π΄ **Liver Disease Present**## π Future Enhancements
- β Improve model performance
- β Add more health parameters
- β Enhance UI/UX with visualizations π## π¨βπ» Developed By
[Machine Learning Prodigy](https://github.com/machinelearningprodigy)## π License
This project is open-source under the **MIT License**.