JOURNAL ARTICLE

Elevating Disease Prediction: A Stacking Ensemble Learning Approach

Abstract

Timely and accurate disease diagnosis is critical for effective treatment and cost reduction. This project develops a web app utilizing machine learning to predict diseases from user-entered symptoms and recommend nearby specialists. An ensemble model stacking Logistic Regression, Random Forest, KNN, MLP, and SVM classifiers with XGBoost as the meta-learner was created using a diverse dataset of symptoms, diseases, and medical specialists. The Flask-based app features user authentication, symptom input, and Google Maps API integration for doctor recommendations. The ensemble model accurately predicts potential diseases and relevant specialists nearby, providing an interactive platform for instant diagnosis and treatment access to reduce complications and costs. Rigorous testing ensured seamless deployment, empowering early disease identification and access to appropriate healthcare. The ensemble achieved 97% accuracy, outperforming individual base learners, while KNN emerged as the top individual model with 92.3% accuracy.

Keywords:
Stacking Computer science Ensemble learning Artificial intelligence Machine learning Physics

Metrics

2
Cited By
2.88
FWCI (Field Weighted Citation Impact)
24
Refs
0.87
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Artificial Intelligence in Healthcare
Health Sciences →  Health Professions →  Health Information Management
Imbalanced Data Classification Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence
© 2026 ScienceGate Book Chapters — All rights reserved.