SHAP-Based Feature Augmentation and Stacking Ensemble Learning for ECG-Based Serum Potassium Abnormality Prediction

Electrocardiogram (ECG) signals contain important clinical information associated with serum potassium abnormalities. However, in Taiwan, raw patient data and original medical signals generally cannot be taken outside the hospital environment, thereby limiting their subsequent reuse and cross-institutional applications. The objective of this study is to transform classification-related information contained in raw ECG signals into high-level SHAP features and to evaluate their feasibility as auxiliary or alternative features to the original wave-segment model outputs. To this end, this study proposes a time-series classification framework that integrates ECG wave-segment submodels, SHAP-based feature augmentation, and stacking ensemble learning for serum potassium abnormality prediction. Submodels are first trained separately using different ECG wave segments and their combinations. SHAP is then applied to transform the contributions of the wave-segment submodel outputs to the prediction results into high-level features. In addition, PCA features are included as a comparison baseline to analyze the effects of different feature transformation methods on classification performance. The experimental results show that incorporating SHAP-based augmented features improves ECG-based serum potassium abnormality prediction performance under most settings. Even when only SHAP-based augmented features are used for training, some models still maintain performance comparable to or better than the Baseline. Although PCA provides more stable classification balance for some patients, SHAP-based augmented features can still represent classification-related model contribution information under most settings while achieving better or comparable classification performance. Overall, even without directly using the original ECG signals in the final classification stage, these features retain a certain degree of discriminative information and demonstrate the potential to serve as alternative features to the original wave-segment model outputs. Therefore, the findings of this study provide a preliminary reference for future medical data reuse, cross-institutional collaboration, and privacy risk assessment.

Authors

Institutions

Publication Details

Journal
Bioengineering
Published
2026-07-16
DOI
https://doi.org/10.3390/bioengineering13070816
Primary Topic
ECG Monitoring and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SHAP-Based Feature Augmentation and Stacking Ensemble Learning for ECG-Based Serum Potassium Abnormality Prediction

Chun‐Hung Richard Lin, Yi-Hsin Ko, Chuan-Sheng Hung, Chiang-Chi Huang et al.
Bioengineering
ECG Monitoring and Analysis
article

SHAP-Based Feature Augmentation and Stacking Ensemble Learning for ECG-Based Serum Potassium Abnormality Prediction

Chun‐Hung Richard Lin, Yi-Hsin Ko, Chuan-Sheng Hung, Chiang-Chi Huang, Jui‐Hsiu Tsai, Pin-Chen Lin, Yi-Fong Ciou
article en

Abstract

Electrocardiogram (ECG) signals contain important clinical information associated with serum potassium abnormalities. However, in Taiwan, raw patient data and original medical signals generally cannot be taken outside the hospital environment, thereby limiting their subsequent reuse and cross-institutional applications. The objective of this study is to transform classification-related information contained in raw ECG signals into high-level SHAP features and to evaluate their feasibility as auxiliary or alternative features to the original wave-segment model outputs. To this end, this study proposes a time-series classification framework that integrates ECG wave-segment submodels, SHAP-based feature augmentation, and stacking ensemble learning for serum potassium abnormality prediction. Submodels are first trained separately using different ECG wave segments and their combinations. SHAP is then applied to transform the contributions of the wave-segment submodel outputs to the prediction results into high-level features. In addition, PCA features are included as a comparison baseline to analyze the effects of different feature transformation methods on classification performance. The experimental results show that incorporating SHAP-based augmented features improves ECG-based serum potassium abnormality prediction performance under most settings. Even when only SHAP-based augmented features are used for training, some models still maintain performance comparable to or better than the Baseline. Although PCA provides more stable classification balance for some patients, SHAP-based augmented features can still represent classification-related model contribution information under most settings while achieving better or comparable classification performance. Overall, even without directly using the original ECG signals in the final classification stage, these features retain a certain degree of discriminative information and demonstrate the potential to serve as alternative features to the original wave-segment model outputs. Therefore, the findings of this study provide a preliminary reference for future medical data reuse, cross-institutional collaboration, and privacy risk assessment.

BioengineeringVol. 13(7)
National Sun Yat-sen University (TW), Chang Gung University (TW), Tzu Chi University (TW), Kaohsiung Chang Gung Memorial Hospital (TW), Buddhist Tzu Chi Medical Foundation (US), Kaohsiung Municipal Hsiao-Kang Hospital (TW)
Reduced inequalities
Openalex Percentile: Top 8%
ECG Monitoring and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.