Related Experiment Video
Updated: May 7, 2025

Hydra, a Computer-Based Platform for Aiding Clinicians in Cardiovascular Analysis and Diagnosis
Published on: September 26, 2018
A novel recommender framework with chatbot to stratify heart attack risk
Tursun Wali1, Almat Bolatbekov1, Ehesan Maimaitijiang2
1Department of Engineering in the Faculty of Science, Thompson Rivers University, 805 TRU Way, Kamloops, BC V2C 0C8 Canada.
Insights
This study introduces an explainable artificial intelligence system for heart attack risk prediction. The system uses machine learning and a large language model to provide transparent risk assessments and personalized health advice, improving patient management.
Area of Science:
- Cardiovascular disease research
- Artificial intelligence in healthcare
- Machine learning for risk prediction
Background:
- Cardiovascular diseases are a leading cause of death, necessitating early detection and intervention.
- Machine learning models show promise for identifying heart attack risk, but often lack transparency.
- Understanding specific risk factors and their associations is crucial for clinical diagnosis.
Purpose of the Study:
- To develop an explainable artificial intelligence (XAI) system for heart attack prediction and risk stratification.
- To enhance transparency in machine learning-based cardiovascular risk assessment.
- To integrate a conversational AI for patient consultation and support.
Main Methods:
- Applied the CatBoost classifier for initial heart attack risk prediction.
- Utilized SHAP (SHapley Additive exPlanations) for transparently explaining model predictions.
- Integrated the BioMistral Large Language Model (LLM) for a digital doctor chatbot functionality.
- Developed a Django-based web application with Google Maps API integration.
Main Results:
- Achieved high accuracy in predicting patient risk levels, with an average AUC of 0.88.
- The system provides both group-based and patient-specific explanations for risk classifications.
- The integrated LLM chatbot offers consultation, answers user questions, and provides hospital location services.
- The system demonstrates improved patient management and potential for lowering heart attack risk.
Conclusions:
- The developed XAI recommender system offers accurate and transparent heart attack risk prediction.
- The system enhances patient understanding and engagement in managing cardiovascular health.
- The combination of predictive modeling, explainability, and conversational AI represents a significant advancement in digital health tools.
- Timely intervention facilitated by such systems can aid in avoiding subsequent disabilities from cardiovascular events.
Abstract:
Cardiovascular diseases are a major cause of mortality and morbidity. Fast detection of life-threatening emergency events and an earlier start of the therapy would save many lives and reduce successive disabilities. Understanding the specific risk factors associated with heart attack and the degree of association is crucial in the clinical diagnosis. Considering the potential benefits of intelligent models in healthcare, many researchers have developed a variety of machine learning (ML)-based models to identify patients at risk of a heart attack. However, the common problem of previous works that used ML concepts was the lack of transparency in black-box models, which makes it difficult to understand how the model made the prediction. In this study, an automated smart recommender system (Explainable Artificial Intelligence) for heart attack prediction and risk stratification was developed. For the purpose, the CatBoost classifier was applied as the initial step. Then, the SHAP (SHapley Additive exPlanation) explainable algorithm was employed to determine reasons behind high or low risk classification. The recommender system can provide insights into the reasoning behind the predictions, including group-based and patient-specific explanations. In the final step, we integrated a Large Language Model (LLM) called BioMistral for chatting functionally to talk to users based on the model output as a digital doctor for consultation. Our smart recommender system achieved high accuracy in predicting a patient risk level with an average AUC of 0.88 and can explain the results transparently. Moreover, a Django-based online application that uses patient data to update medical information about an individual's heart attack risk was created. The LLM chatbot component would answer user questions about heart attacks and serve as a virtual companion on the route to heart health, our system also can locate nearby hospitals by applying Google Maps API and alert the users. The recommender system could improve patient management and lower heart attack risk while timely therapy aids in avoiding subsequent disabilities.
Related Concept Videos
Heart Failure Drugs: β-Blockers
Cardiovascular Drugs: Classification based on Therapeutic Indications
Heart Failure Drugs: Inhibitors of Renin-Angiotensin System
Pre-Procedural Guidelines for Assessing Blood Pressure
Heart Failure Drugs: Inotropic Agents
Ischemic Heart Disease: Overview
Atherosclerosis, the primary malefactor, orchestrates this dangerous condition. It manifests as the accumulation of fatty deposits, akin to insidious plaques, within arterial walls. As time elapses, these plaques metamorphose, hardening and...

