Skip to content

matesoft2033/disease-symptom-predictor-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 Disease Symptom Prediction AI

Python License Issues

AI-powered tool that predicts possible diseases based on symptoms using a trained machine learning model and provides chatbot-style suggestions.


📁 Project Structure

disease-symptom-prediction/
├── data/               # Excel dataset (not uploaded)
│   └── README.md       # Instructions for downloading from Kaggle
│
├── src/                # Source code
│   ├── data_preprocessing.py   # Cleans & prepares dataset
│   ├── model.py                # Trains and saves the ML model
│   ├── predict.py              # Predicts disease from symptoms
│   └── chatbot.py              # Symptom-checker chatbot logic
│
├── app/                # App interface
│   └── gradio_app.py   # Gradio-based web UI
│
├── models/             # Trained model files
│   └── rf_model.pkl
│
├── notebooks/          # Jupyter notebooks for analysis
│   ├── 1_data_exploration.ipynb
│   ├── 2_preprocessing_test.ipynb
│   └── 3_model_testing.ipynb
│
├── requirements.txt    # Python dependencies
├── .gitignore
└── README.md

⚙️ Installation

1. Clone the repository

git clone https://github.com/your-username/disease-symptom-prediction.git
cd disease-symptom-prediction

2. Create virtual environment (optional but recommended)

python -m venv venv
source venv/bin/activate   # On Windows: venv\Scripts\activate

3. Install dependencies

pip install -r requirements.txt

🚀 Run the App

python app/gradio_app.py

The app will start locally and you can open it in your browser at http://localhost:7860.


🤖 Features

  • ✅ Predict disease from symptoms
  • 🧠 Trained on structured healthcare dataset
  • 💬 Chatbot-style health advice
  • 🖥️ User-friendly Gradio interface

📦 Dataset Note (Click to expand)

We use a healthcare dataset available on Kaggle. Due to licensing, it is not uploaded in this repo. Please download it manually and place it in the data/ directory.


🪪 License

This project is licensed under the MIT License - see the LICENSE file for details.


🙏 Credits

Created by Mate — feel free to fork, star, or contribute.


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages