True Diagnose is a machine learning-powered web application designed to assist in medical diagnosis. This project leverages machine learning and deep learning models trained on large datasets to predict various diseases based on user-provided medical data. The system enables users to detect potential health issues and schedule appointments with doctors if needed. The application also offers a secure communication feature via email between patients and doctors, providing a streamlined healthcare experience.
Errors in human diagnosis are inevitable, but machine learning models can significantly improve the accuracy of medical predictions. By harnessing the power of AI, we ensure more reliable health assessments. Extensive research in allopathic, homeopathic, and ayurvedic fields led us to utilize allopathic datasets due to the availability of data. This project uses datasets sourced from Kaggle and UCI Machine Learning repositories for accurate health predictions.
- 🩺Disease Prediction: Detects and predicts the likelihood of common diseases based on uploaded medical data.
- 📅Appointment Scheduling: Allows users to book appointments with doctors for further consultation.
- 📧Patient-Doctor Communication: Provides an email-based communication system for secure interaction between patients and healthcare providers.
- 🖥️User-Friendly Interface: Designed with an intuitive and accessible UI for seamless interaction.
1. Diabetes
2. Breast Cancer
3. Heart Disease
4. Kidney Disease
5. Liver Disease
6. Malaria (Deep Learning)
7. Pneumonia (Deep Learning)
- Front-End: HTML, CSS, JavaScript
- Back-End: Flask (Python)
- Machine Learning Models: Trained using Python (scikit-learn, TensorFlow)
- Deep Learning Models: Convolutional Neural Networks (CNN) for Malaria and Pneumonia
- Database: SQLite for data management
- Deployment: Flask for web app hosting
Disease | Type of Model | Accuracy |
---|---|---|
Diabetes | Machine Learning Model | 98.25 % |
Breast Cancer | Machine Learning Model | 98.25 % |
Heart Disease | Machine Learning Model | 85.25 % |
Kidney Disease | Machine Learning Model | 99 % |
Liver Disease | Machine Learning Model | 78 % |
Malaria | Deep Learning Model (CNN) | 96 % |
Pneumonia | Deep Learning Model (CNN) | 95 % |
├── app.py # Main application code
├── notebooks/ # Jupyter Notebooks for training models
├── models/ # Trained model files (.pkl)
├── templates/ # HTML Templates
│ ├── home.html
│ ├── contact.html
│ ├── about_us.html
│ ├── services.html
│ ├── css/
│ ├── js/
│ └── images/
├── static/ # Static files (logos, images, fonts)
├── readme.md # Project readme file
├── runtime.txt # Runtime configuration
└── requirements.txt # Dependencies for the project
Step 1: Clone the repository
git clone https://github.com/your-username/true-diagnose.git
Step 2: Set up the environment:
pip install -r requirements.txt
Step 3: Run the application:
python app.py
Step 4:
Open http://127.0.0.1:5000/ in your browser to access the web application.
- Diabetes Dataset
- Breast Cancer Dataset
- Heart Disease Dataset
- Kidney Disease Dataset
- Liver Disease Dataset
- Malaria Dataset
- Pneumonia Dataset
- Python Version: 3.6.8
- Flask Web Framework for the front and back-end
- Machine Learning models trained using scikit-learn
- Deep Learning models built with TensorFlow