This project is an AI-powered Predictive Healthcare System that helps identify individuals at risk of developing chronic diseases such as diabetes, heart disease, or obesity. The system provides personalized recommendations for preventive care based on lifestyle and medical data.
Ensure you have the following installed:
- Python 3.7+
- streamlit
- pandas
- scikit-learn
- requests
- Pillow
(for image processing)
Install all the necessary dependencies using the following command:
pip install -r requirements.txt
git clone https://github.com/aaarif796/AI-Powered-Preventive-Healthcare-System.git
cd AI-Powered-Preventive-Healthcare-System
Make sure to have the pre-trained model files:
- label_encoders.pkl
- lr_dt.pkl
(Logistic Regression model for Diabetes)
- lr_ht.pkl
(Logistic Regression model for Heart Disease)
- lr_ob.pkl
(Logistic Regression model for Obesity)
Place these files inside the model
folder.
Place relevant images in the images
folder for visual representation.
The application uses a custom CSS file for styling. Ensure you have the style.css
file in the style
folder.
Use Streamlit to launch the app with the following command:
streamlit run app.py
Fill out the form with your general health and lifestyle details (e.g., age, exercise habits, smoking history, etc.).
The app will predict your risk level for diabetes, heart disease, and obesity based on the data you provide. It will also offer personalized advice based on the risk level.
├── images
│ ├── healthcare.webp
├── model
│ ├── label_encoders.pkl
│ ├── lr_dt.pkl
│ ├── lr_ht.pkl
│ ├── lr_ob.pkl
├── style
│ ├── style.css
├── app.py
├── README.md
├── requirements.txt
This application was developed as part of the TechXcelerate 2024 challenge, focusing on developing a predictive healthcare system using machine learning and AI.