Skip to content

Latest commit

ย 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฉบ Disease Prediction System

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.


๐Ÿ“Œ Overview

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.

Key Objectives

  • 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.

๐Ÿš€ Features

โœ… 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


๐Ÿ› ๏ธ Technologies Used

Programming Language

  • Python

Libraries & Frameworks

  • NumPy
  • Pandas
  • Scikit-learn
  • Matplotlib
  • Seaborn
  • Flask / Streamlit (if applicable)

Machine Learning Algorithms

  • Decision Tree
  • Random Forest
  • Naive Bayes
  • Support Vector Machine (SVM)

๐Ÿ“‚ Project Structure

Disease_Prediction/
โ”‚
โ”œโ”€โ”€ dataset/
โ”‚   โ”œโ”€โ”€ Training.csv
โ”‚   โ””โ”€โ”€ Testing.csv
โ”‚
โ”œโ”€โ”€ models/
โ”‚   โ””โ”€โ”€ trained_model.pkl
โ”‚
โ”œโ”€โ”€ templates/
โ”‚   โ””โ”€โ”€ index.html
โ”‚
โ”œโ”€โ”€ static/
โ”‚
โ”œโ”€โ”€ app.py
โ”œโ”€โ”€ disease_prediction.ipynb
โ”œโ”€โ”€ requirements.txt
โ””โ”€โ”€ README.md

๐Ÿ“Š Dataset

The dataset contains:

  • Symptoms as input features
  • Disease labels as target variables

Example

Symptom 1 Symptom 2 Symptom 3 Disease
Fever Cough Headache Flu
Vomiting Nausea Fatigue Food Poisoning

โš™๏ธ Installation

Clone Repository

git clone https://github.com/gaurav29kumar/Disease_Prediction.git
cd Disease_Prediction

Create Virtual Environment

python -m venv venv

Activate Environment

Windows

venv\Scripts\activate

Linux / MacOS

source venv/bin/activate

Install Dependencies

pip install -r requirements.txt

โ–ถ๏ธ Run the Project

Flask Application

python app.py

Open:

http://127.0.0.1:5000

Jupyter Notebook

jupyter notebook

Open the notebook and run all cells.


๐Ÿง  Machine Learning Workflow

  1. Data Collection
  2. Data Cleaning
  3. Feature Encoding
  4. Train-Test Split
  5. Model Training
  6. Model Evaluation
  7. Disease Prediction
  8. Deployment

๐Ÿ“ˆ Model Performance

Model Accuracy
Decision Tree XX%
Random Forest XX%
Naive Bayes XX%
SVM XX%

Replace with actual results obtained from your experiments.


๐Ÿ” Sample Prediction

Input Symptoms

  • Fever
  • Headache
  • Fatigue
  • Cough

Predicted Disease

Common Cold

๐Ÿ“ธ Screenshots

Home Page

Home Page

Prediction Result

Prediction


๐Ÿ”ฎ Future Enhancements

  • Deep Learning integration
  • Symptom auto-suggestions
  • Disease severity analysis
  • Doctor recommendation system
  • Medicine recommendation module
  • Multi-language support
  • Mobile application deployment

๐Ÿค Contributing

Contributions are welcome!

  1. Fork the repository
  2. Create a feature branch
git checkout -b feature-name
  1. Commit changes
git commit -m "Add new feature"
  1. Push branch
git push origin feature-name
  1. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License.


๐Ÿ‘จโ€๐Ÿ’ป Author

Gaurav Kumar

GitHub: https://github.com/gaurav29kumar


โญ Support

If you find this project useful:

โญ Star the repository

๐Ÿด Fork the repository

๐Ÿ“ Share feedback and suggestions


Disclaimer

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.

About

The Disease Prediction Model uses machine learning algorithms to predict potential diseases based on user-input symptoms. It leverages healthcare datasets and intelligent classification models to provide fast, data-driven health insights.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages