
Objective: Hypertension is a critical medical condition that increases the risks of many fatal diseases. Early detection of hypertension can be crucial to lead a healthy life. Machine learning (ML) can be useful for the early prediction of a patient's likelihood of having a blood pressure abnormality and preventing it. Explainable artificial intelligence (XAI) is a state-of-the-art ML toolset that helps us understand and explain the prediction of an ML model. This research aims to build an automatic blood pressure anomaly detection system with maximum accuracy using the fewest features and learn why a model arrived at a particular result using XAI. Methods: This study utilized the “Blood Pressure Data for Disease Prediction” dataset from Kaggle. Data were collected from medical reports of random participants in 2019 based on the presence of blood pressure abnormality, chronic kidney disease, and adrenal and thyroid disorders. We have used several ML algorithms (extreme gradient boosting (XGBoost), random forest (RF), support vector machine (SVM), decision tree (DT), and logistic regression (LR)) to predict blood pressure abnormality based on patient's data. Principal component analysis (PCA) and recursive feature elimination (RFE) algorithms were used as feature optimizers. Key outcome metrics included receiver operating characteristic (ROC) curve analysis and accuracy. Additional performance measurement techniques, such as precision, recall, specificity, F1-score, and kappa were calculated to identify the model with the best performance. Moreover, several XAI methods, namely permutation feature importance (PFI), partial dependence plots (PDP), Shapley additive explanations (SHAP), and local interpretable model-agnostic explanations (LIME) were implemented for additional exploration of our best model. Results: The combination of RFE and XGBoost provides the most significant results. The results of the study show that the algorithm has an AUC of 0.95, indicating good discriminatory power in detecting abnormal blood pressure. The accuracy, precision, recall, specificity, F1-score, and kappa scores were 91.50%, 88.64%, 92.65%, 92.27%, 90.83%, and 0.8, respectively. According to the XAI experiment, the genetic pedigree coefficient and hemoglobin level in a patient contribute the most to blood pressure abnormality prediction. Adrenal and thyroid diseases, as well as chronic kidney illness, have an impact on the projections. Existing research backs up this conclusion. Conclusion: Compared to previous studies on this dataset, our results would be superior, and the use of XAI shed new light on our model's prediction. This study would provide new insight into blood pressure detection in the medical profession.
Recursive feature elimination, Machine learning, Principal component analysis, Medical technology, Explainable artificial intelligence, R855-855.5, Shapley additive explanations
Recursive feature elimination, Machine learning, Principal component analysis, Medical technology, Explainable artificial intelligence, R855-855.5, Shapley additive explanations
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 11 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Top 10% | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Top 10% | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Top 10% |
