This project is a Machine Learning based Disease Prediction System that predicts diseases based on user-selected symptoms.
The project uses the Random Forest Algorithm for prediction and provides a simple and interactive user interface using Streamlit.
- Predicts diseases based on symptoms
- Uses Random Forest Classifier
- Interactive Streamlit UI
- Trained using symptom-based dataset
- Displays prediction instantly
- Python
- Pandas
- Scikit-learn
- Streamlit
├── Disease_prediction.py # Model training and testing
├── app.py # Streamlit user interface
├── disease.csv # Training dataset
├── Testing.csv # Testing dataset
├── requirements.txt # Required libraries
- The dataset containing symptoms and diseases is loaded.
- The Random Forest model is trained using the training dataset.
- The model is tested using separate testing data.
- The user selects symptoms in the Streamlit UI.
- The model predicts the most likely disease.
Random Forest is an ensemble learning algorithm that combines multiple decision trees to improve prediction accuracy and reduce overfitting.
The model performance is evaluated using:
- Accuracy Score
- Classification Report
pip install -r requirements.txtstreamlit run app.pyThe application allows users to:
- Select symptoms
- Click Predict
- View predicted disease instantly
- Better UI design
- Deploy as web application
- Add more disease datasets
- Improve prediction accuracy
This project is developed for educational purposes only and should not be used for real medical diagnosis.
https://disease-predictor1.streamlit.app/
Made with ❤️ by Vivaan Garg