This repository contains a machine learning model designed to predict liver disease based on patient data. The model has been trained and evaluated using various algorithms and has been deployed for interactive use on Streamlit.
- Machine Learning Model: A trained model that predicts the likelihood of liver disease based on input features.
- Streamlit Deployment: An interactive web application allowing users to input data and receive predictions.
- Medium Article: A detailed explanation of the project, including the model development process and results.
- Predictive Accuracy: The model has been evaluated for accuracy, precision, recall, and F1-score using different algorithms.
- Interactive Interface: The Streamlit app provides an easy-to-use interface for making predictions.
For an in-depth explanation of the project, including the development process, results, and insights, please refer to the Medium article: Predicting The Presence of a Liver Disease with Machine Learning
- Python 3.6 or higher
- Required Python libraries (listed in
requirements.txt
)
- Clone this repository: git clone https://github.com/your-username/liver-disease-prediction.git
- Navigate to the project directory: cd liver-disease-prediction
- Install the required libraries: pip install -r requirements.txt
- Start the Streamlit app https://jonathanpollynlivediseasepred.streamlit.app/
• Algorithms Tested: Logistic Regression, K-Nearest Neighbors, Naive Bayes, Support Vector Classifier, Random Forest Classifier, and more.
• Best Performing Model: Random Forest Classifier with high accuracy and precision.
Contributions are welcome! Please open an issue or submit a pull request if you have suggestions or improvements.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or feedback, please contact Jonathan Pollyn.