The Healthcare Diagnostic Chatbot is an ML-driven interactive system that predicts potential diseases based on user-reported symptoms. It leverages Decision Tree classification, SVM validation, and a structured medical knowledge base to provide:
- 🩺 Disease prediction
- 📊 Symptom severity assessment
- 📚 Condition descriptions
- 🛡️ Precaution recommendations
- 🎤 Optional text-to-speech interaction
This project is intended for educational and research purposes, demonstrating applied machine learning and rule-based reasoning in healthcare.
- Decision Tree Classifier for primary disease prediction
- SVM model for secondary accuracy validation
- Automated feature encoding and training from CSV datasets
- Pattern-matching for symptom input
- Regex-based suggestion of similar symptoms
- Interactive question flow based on decision-tree traversal
- Severity scoring using predefined symptom weights
- Consultation recommendation based on score thresholds
symptom_Description.csv— disease definitionssymptom_precaution.csv— recommended precautionssymptom_severity.csv— symptom severity weightsTraining.csv&Testing.csv— ML dataset
- Text-to-speech responses via pyttsx3
git clone https://github.com/<your-username>/healthcare-chatbot.git
cd healthcare-chatbot