An intelligent Machine Learning-based Disease Prediction System that predicts possible diseases based on symptoms provided by users. The application helps users get preliminary health insights and supports healthcare awareness through data-driven predictions.
The Disease Prediction System utilizes Machine Learning algorithms to analyze symptoms entered by users and predict the most likely disease. The system is designed to provide quick and accurate predictions, making healthcare information more accessible.
- Predict diseases based on symptoms.
- Improve early awareness of potential health conditions.
- Demonstrate the practical application of Machine Learning in healthcare.
- Provide a user-friendly interface for symptom analysis.
โ Disease prediction based on symptoms
โ Data preprocessing and feature engineering
โ Machine Learning model training and evaluation
โ User-friendly interface
โ Fast and accurate predictions
โ Scalable architecture for adding more diseases
- Python
- NumPy
- Pandas
- Scikit-learn
- Matplotlib
- Seaborn
- Flask / Streamlit (if applicable)
- Decision Tree
- Random Forest
- Naive Bayes
- Support Vector Machine (SVM)
Disease_Prediction/
โ
โโโ dataset/
โ โโโ Training.csv
โ โโโ Testing.csv
โ
โโโ models/
โ โโโ trained_model.pkl
โ
โโโ templates/
โ โโโ index.html
โ
โโโ static/
โ
โโโ app.py
โโโ disease_prediction.ipynb
โโโ requirements.txt
โโโ README.mdThe dataset contains:
- Symptoms as input features
- Disease labels as target variables
| Symptom 1 | Symptom 2 | Symptom 3 | Disease |
|---|---|---|---|
| Fever | Cough | Headache | Flu |
| Vomiting | Nausea | Fatigue | Food Poisoning |
git clone https://github.com/gaurav29kumar/Disease_Prediction.git
cd Disease_Predictionpython -m venv venvvenv\Scripts\activatesource venv/bin/activatepip install -r requirements.txtpython app.pyOpen:
http://127.0.0.1:5000
jupyter notebookOpen the notebook and run all cells.
- Data Collection
- Data Cleaning
- Feature Encoding
- Train-Test Split
- Model Training
- Model Evaluation
- Disease Prediction
- Deployment
| Model | Accuracy |
|---|---|
| Decision Tree | XX% |
| Random Forest | XX% |
| Naive Bayes | XX% |
| SVM | XX% |
Replace with actual results obtained from your experiments.
- Fever
- Headache
- Fatigue
- Cough
Common Cold
- Deep Learning integration
- Symptom auto-suggestions
- Disease severity analysis
- Doctor recommendation system
- Medicine recommendation module
- Multi-language support
- Mobile application deployment
Contributions are welcome!
- Fork the repository
- Create a feature branch
git checkout -b feature-name- Commit changes
git commit -m "Add new feature"- Push branch
git push origin feature-name- Open a Pull Request
This project is licensed under the MIT License.
Gaurav Kumar
GitHub: https://github.com/gaurav29kumar
If you find this project useful:
โญ Star the repository
๐ด Fork the repository
๐ Share feedback and suggestions
This application is intended for educational and research purposes only. It should not be used as a substitute for professional medical advice, diagnosis, or treatment.

