This project utilizes StreamLit and Docker to create an interactive web application for predicting various diseases. This project includes prediction models for diabetes, Parkinson's disease, heart disease, and breast cancer.
This web app provides a user-friendly interface to predict multiple diseases based on various input features. The machine learning models used in this application are trained on relevant datasets to make accurate predictions.
The diseases currently supported by this web app include:
- Diabetes
- Parkinson's disease
- Heart disease
- Breast cancer
- Access the Web App - Use the web app to predict multiple diseases.
-
Clone the repository:
git clone https://github.com/AryanKaushal2002/MediPredict.git
-
Install the required dependencies:
pip install -r requirements.txt
-
Navigate to the project directory:
cd plant-disease-prediction
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment(You will have to create a virtual environment for the project):
-
On Windows:
venv\Scripts\activate
-
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the web app:
streamlit run app.py
-
Open your web browser and go to
http://localhost:8080
to access the web app. -
Select the disease prediction page you want to use and provide the required input features.
-
Click on the Test Result button to generate the prediction result.
-
Build the Docker image:
docker build -t medipredict:v1.0 .
-
Run the Docker container:
docker run -p 80 medipredict:v1.0
-
Access the application in your browser at http://localhost:8080.
The machine learning models used in this web app are trained on publicly available datasets specific to each disease. Here is a brief description of each model:
-
Diabetes Model: This model predicts the likelihood of a person having diabetes based on input features such as glucose level, blood pressure, BMI, etc.
-
Parkinson's Disease Model: This model predicts the presence of Parkinson's disease in a person based on features extracted from voice recordings.
-
Heart Disease Model: This model predicts the presence of heart disease based on various clinical and demographic features of a person.
-
Breast Cancer Model: This model predicts whether a breast mass is malignant or benign using features derived from breast cytology.
This project is licensed under the MIT License.