MediSense AI is an all-in-one disease detection app built using Streamlit and machine learning algorithms. The app can predict diseases such as heart disease, diabetes, and more based on user input data. It utilizes several machine learning models to provide accurate and efficient predictions, empowering users to assess their health risks easily.
- Disease Prediction: Predicts various diseases, including heart disease and diabetes, using machine learning models.
- Streamlit Interface: A user-friendly, interactive interface for inputting health data and receiving predictions.
- Multiple Algorithms: Supports different machine learning algorithms for accurate disease detection.
- Real-time Results: Displays real-time predictions after the user submits their health data.
- Backend: Python, Scikit-learn, NumPy, Pandas
- Frontend: Streamlit
- Machine Learning Models: Logistic Regression, Decision Trees, Random Forest, etc.
Before running the project, ensure you have the following installed:
- Python 3.x
- pip (Python package installer)
Follow these steps to set up and run the project locally.
git clone https://github.com/Kulashekar01/MediSense-AI.git
cd MediSense-AI
# Create virtual environment
python -m venv env
# Activate virtual environment
# For Windows:
env\Scripts\activate
# For macOS/Linux:
source env/bin/activate
pip install -r requirements.txt
Ensure the dataset required for training or predictions is in the appropriate directory. You can modify the dataset paths in the script if needed.
To run the app locally, use the following command:
streamlit run app.py
This will start the Streamlit server, and you can access the app in your browser at:
http://localhost:8501
- Open your browser and navigate to
http://localhost:8501
. - Enter the required health data (like age, blood pressure, cholesterol levels, etc.).
- Submit the data to get predictions for various diseases.
├── app.py # Main Streamlit app
├── models/ # Trained ML models
├── data/ # Datasets used for training/prediction
├── requirements.txt # List of required Python packages
└── README.md # Project documentation
Ensure the following packages are installed (included in requirements.txt
):
- streamlit
- scikit-learn
- numpy
- pandas
To install all dependencies, run:
pip install -r requirements.txt
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes and push to your fork.
- Open a pull request with a description of your changes.