← Latest papers
💻 computer science

A Framework for Explainable Machine Learning-Based Early Disease Prediction in Healthcare

This paper proposes a transparent clinical decision support framework that combines high-performance gradient boosting models, specifically CatBoost and XGBoost, with post-hoc explainability techniques like SHAP and LIME to achieve accurate and interpretable early disease predictions across four standard medical datasets.

Original authors: Md. Sharfuddin, Md. Shakil

Published 2026-11-17
📖 7 min read🧠 Deep dive

Original authors: Md. Sharfuddin, Md. Shakil

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the modern world of medicine, a quiet revolution is taking place within the data that doctors collect every day. Hospitals and clinics now generate vast amounts of information about patients, from blood test results and heart rates to medical history and lifestyle habits. For decades, researchers have tried to use this data to build computer systems that can spot diseases before symptoms appear, hoping to catch conditions like heart disease or diabetes early enough to save lives. However, a major hurdle has always stood in the way: the most powerful computer programs used for this task often operate as "black boxes." They can look at a patient's data and predict an illness with high accuracy, but they cannot explain why they reached that conclusion. They offer a diagnosis without a reason, leaving doctors unable to trust the advice or understand the logic behind it. This lack of transparency has kept many of these advanced tools out of real-world clinics, where doctors need to know not just what is wrong, but why they think so.

A new study by researchers at Southeast University in Bangladesh seeks to bridge this gap between powerful prediction and clear understanding. The team developed a framework that combines high-performance computer models with a new layer of explanation, designed to make the reasoning behind a diagnosis visible and understandable. They tested their system on four different types of medical data covering heart disease, diabetes, chronic kidney disease, and breast cancer. By training eight different types of computer learning algorithms on these datasets, they found that a specific type of advanced model called CatBoost performed the best, correctly identifying heart disease in nearly 92 percent of cases and chronic kidney disease in over 99 percent of cases. More importantly, they did not stop at just getting the right answer; they attached a dual-layer explanation system to the model. This system uses two distinct methods to break down the prediction, showing doctors exactly which factors, such as age or blood pressure, pushed the computer to flag a specific patient as high-risk. The result is a tool that matches the accuracy of the most complex systems while providing the clear, human-readable logic that medical professionals require to make safe decisions.

The researchers began by gathering four standard sets of medical records, each representing a different common health challenge. These records contained hundreds of patient profiles with details like age, blood pressure, cholesterol levels, and glucose readings. Before feeding this information into their computer models, the team cleaned the data carefully. They filled in missing values using average numbers where appropriate, removed extreme outliers that could skew the results, and adjusted the scale of the numbers so that a large value like cholesterol did not accidentally overwhelm a smaller but equally important value like blood sugar. This preparation ensured that the computer models were learning from the true patterns in the data rather than being confused by errors or inconsistencies.

Once the data was ready, the team trained eight different machine learning algorithms to act as predictors. These ranged from simpler, older methods like logistic regression and decision trees to more complex, modern systems known as gradient boosting models. The goal was to see which algorithm could most accurately distinguish between patients who had a disease and those who did not. The results were clear: the more advanced gradient boosting models consistently outperformed the simpler ones. Specifically, a model called CatBoost achieved an accuracy of 91.80 percent for predicting heart disease, while both CatBoost and another model called XGBoost reached 99.17 percent accuracy for chronic kidney disease. These numbers were significantly higher than those produced by the traditional linear models or single decision trees, proving that the more complex algorithms were better at finding the subtle, hidden connections in the medical data.

However, accuracy alone was not enough for the researchers. They knew that a doctor would not use a tool that simply said "this patient is sick" without explaining why. To solve this, they integrated two powerful explanation techniques into their framework. The first technique, known as SHAP, looks at the entire group of patients to determine which factors are generally the most important for predicting disease across the board. It acts like a global map, showing that factors like age, blood glucose levels, and blood pressure are the primary drivers of risk for the population as a whole. The second technique, called LIME, zooms in on a single patient to explain that specific individual's result. It creates a simple, local explanation for why a particular person was flagged as high-risk, highlighting the specific combination of their age, weight, and lab results that led to the prediction.

When the researchers applied these explanation tools to the best-performing models, the results aligned perfectly with established medical knowledge. The global analysis confirmed that older age, high blood pressure, and elevated cholesterol were the most significant risk factors, which is exactly what doctors have known for years. But the power of the system lay in its ability to apply this knowledge to individuals. For example, when the system analyzed a specific high-risk patient, it showed that their age contributed about 18 percent to the risk prediction, while high blood sugar added another 16 percent. It could also show which factors were protective, such as a normal heart rate slightly lowering the overall risk. This level of detail allows a doctor to look at a patient's file and see a clear, logical breakdown of the computer's reasoning, rather than just a mysterious score.

The study also included rigorous statistical testing to ensure that the superior performance of the advanced models was not just a lucky fluke. The researchers used several statistical methods to compare the results of the different algorithms against each other. These tests confirmed that the improvements seen with the CatBoost and XGBoost models were statistically significant, meaning the difference in performance was real and reliable. While the two top models performed very similarly, with no statistically significant difference between them, both were clearly better than the older, simpler methods. This gives medical professionals confidence that the system is not just guessing, but is consistently identifying the correct patterns.

Despite these successes, the researchers acknowledge that their work has limitations. The models were trained and tested on specific, fixed datasets that may not fully represent the diversity of the global population. Factors like ethnicity, geography, and the availability of different types of medical data in the real world could affect how well the system performs outside of these controlled tests. Additionally, while the system is fast at making predictions, the process of generating the detailed explanations for every single patient can be computationally heavy, which might slow things down in a busy hospital setting. The team suggests that future work will focus on making the system even more efficient and testing it in real-world, multi-hospital environments to ensure it works for everyone.

Ultimately, this research demonstrates that it is possible to have both high accuracy and clear understanding in medical prediction. By combining powerful computer learning with transparent explanation tools, the researchers have created a framework that does not force doctors to choose between a smart tool and a trustworthy one. The system provides the precise, data-driven insights needed to catch diseases early, while simultaneously offering the clear, logical explanations that allow doctors to understand and trust those insights. This approach moves the field of healthcare analytics closer to a future where artificial intelligence acts not as a mysterious oracle, but as a reliable partner that helps doctors make better, more informed decisions for their patients.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →