Interpretable Assessment of ST-Segment Deviation in ECG Time Series
Abstract
:1. Introduction
2. Materials & Methods
2.1. Overview
2.2. Database
2.3. Feature Selection and Feature Extraction
- In subset A, we included time–distance features calculated by subtracting timestamps of detected points of interest and the R-peak. Points of interest included the peaks, peaks, peaks, peaks, onset point, offset point, and offset point.
- In subset B, we included statistical measures of the whole ECG beat, as its median, standard deviation (STD), kurtosis (kSQI, defined in Equation (3)) and skewness (sSQI, Equation (2)), known as the third () and fourth () standardized moments.and are the mean and standard deviation of the signal, respectively. As well as the power spectrum distribution pSQI, defined in Equation (4), this equation shows how the QRS complex holds most of the information from each beat, which is concentrated in a frequency band centered at 10 Hz [17]:Additionally, this subset includes several changes to the C/B: firstly, the distance of the isoelectric line to the point found 60 ms after the J-point (by definition of the ST-segment detection), secondly distance of the isoelectric line to the point found 80 ms after the J-point (by definition of ST-segment detection), and finally the distance of the isoelectric line to the end of the peak.
- Subset C reuses features from subset B.
- Subset D reuses features from subset B but it considers specifically the distance from the baseline to the J-point.
2.4. Model Development
- is a set of pipelines.
- be the hyperparameter space.
- its combined configuration space
- a specific configuration
- the validation loss of the model created by , trained on data and validated on data . A set of hyperparameters was looked for, , and a pipeline that minimizes . This evaluation of the loss function can be performed with fold cross validation [20], where is a subset of the dataset:
Algorithm 1 GEISHA. |
|
2.5. Experiment Setup
- Regression:
- -
- We use the default setting of GAMA, which has 50 pipelines to be optimized.
- -
- The type of optimization is done through AEA.
- -
- For the AutoML approach, the data are divided into 75% for training and 25% for testing and validation.
- -
- The metrics that are considered are mean squared error (MSE), mean absolute error (MAE), mean bias error (MBE), root mean squared error (RME) and Nash–Sutcliffe efficiency (NSE).
- -
- The time budget to find the solution is 2 h.
- -
- The models that are compared outside of the GAMA search space are: extreme learning machine (ELM), long short-term memory (LSTM), CNN, multilayer perceptron (MLP), transformers CNN, and transformers LSTM. For these models, we use the package described in [22], where in order to assess their performance, the dataset is split into 70% for training, and 30% for validation and testing, using a holdout technique as indicated in the documentation of this package.
- Classification: We apply the default configuration, which consists of the following elements: replacement policy and selection policies, with 20% for each, reduction factor , minimum early-stopping rate , pipelines , and metric of negative log loss. Eight bio-inspired algorithms working asynchronously are used:
- -
- Grey wolf optimizer;
- -
- Particle swarm optimization;
- -
- Particle swarm optimization generational;
- -
- (N+1)-ES simple evolutionary algorithm;
- -
- Artificial bee colony (ABC);
- -
- Differential evolution;
- -
- Self-adaptive DE (jDE and iDE);
- -
- Self-adaptive DE (de1220 aka pDE).
- The data are divided into 75% for training and 25% for testing and validation.
- The metric considered is negative log loss.
- The time budget to find the solution is 2 h.
- Classification in 3 classes with 4 subsets.
- Classification in 2 classes with specific subset and regression with same subset.
3. Results
3.1. Classification
3.2. Regression
4. Discussion
4.1. Main Findings
4.2. Related Research
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
AI | Artificial intelligence |
AEA | Asynchronous evolutionary algorithm |
ASHA | Asynchronous successive halving |
AutoML | Automated machine learning |
DC | Direct current |
ECG | Electrocardiogram |
ELM | Extreme learning machine |
CVD | Cardiovascular diseases |
CNN | Convolutional neural network |
GEISHA | Generalized island model with successive halving |
kSQI | Kurtosis |
LSTM | Long short-term memory |
MAE | Mean absolute error |
MBE | Mean bias error |
MLP | Multilayer perceptron |
MI | Myocardial infarction |
ML | Machine learning |
mV | Millivolt |
ms | Milliseconds |
MSE | Mean squared error |
NSE | Normalized squared error |
pSQI | Power spectrum distribution |
RMSE | Root mean squared error |
SQIs | Signal quality indexes |
sSQI | Skewness |
STD | Standard deviation |
V | Microvolt |
References
- Harikrishnan, S.; Jeemon, P.; Mini, G.; Thankappan, K.; Sylaja, P.; GBD 2017 Causes of Death Collaborators. Global, regional, and national age-sex-specific mortality for 282 causes of death in 195 countries and territories, 1980–2017: A systematic analysis for the Global Burden of Disease Study 2017. Lancet 2018, 392, 1736–1788. [Google Scholar]
- Berkaya, S.K.; Uysal, A.K.; Gunal, E.S.; Ergin, S.; Gunal, S.; Gulmezoglu, M.B. A survey on ECG analysis. Biomed. Signal Process. Control 2018, 43, 216–235. [Google Scholar] [CrossRef]
- Das, M.K.; Ari, S. Patient-specific ECG beat classification technique. Healthc. Technol. Lett. 2014, 1, 98–103. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Makowski, D.; Pham, T.; Lau, Z.J.; Brammer, J.C.; Lespinasse, F.; Pham, H.; Schölzel, C.; Chen, S.H.A. NeuroKit2: A Python toolbox for neurophysiological signal processing. Behav. Res. Methods 2021, 53, 1689–1696. [Google Scholar] [CrossRef]
- Thygesen, K.; Alpert, J.S.; White, H.D.; Joint ESC/ACCF/AHA/WHF Task Force for the Redefinition of Myocardial Infarction. Universal definition of myocardial infarction. J. Am. Coll. Cardiol. 2007, 50, 2173–2195. [Google Scholar] [CrossRef] [Green Version]
- Willems, J.L.; Willems, R.J.; Willems, G.M.; Arnold, A.; Van de Werf, F.; Verstraete, M.f. Significance of initial ST segment elevation and depression for the management of thrombolytic therapy in acute myocardial infarction. European Cooperative Study Group for Recombinant Tissue-Type Plasminogen Activator. Circulation 1990, 82, 1147–1158. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Zorzi, A.; ElMaghawry, M.; Migliore, F.; Rigato, I.; Basso, C.; Thiene, G.; Corrado, D. ST-segment elevation and sudden death in the athlete. Card. Electrophysiol. Clin. 2013, 5, 73–84. [Google Scholar] [CrossRef]
- Channer, K.; Morris, F. Myocardial ischaemia. BMJ 2002, 324, 1023–1026. [Google Scholar] [CrossRef] [PubMed]
- Bertolet, B.D.; Boyette, A.F.; Mardis, M.; Hill, J.A. Effect of precordial electrocardiographic electrode placement on st-segment measurement during exercise. Clin. Cardiol. 1995, 18, 223–224. [Google Scholar] [CrossRef] [PubMed]
- Salem, M.; Taheri, S.; Yuan, J.S. ECG arrhythmia classification using transfer learning from 2-dimensional deep CNN features. In Proceedings of the 2018 IEEE Biomedical Circuits and Systems Conference (BioCAS), Cleveland, OH, USA, 17–19 October 2018; pp. 1–4. [Google Scholar]
- Rajpurkar, P.; Hannun, A.Y.; Haghpanahi, M.; Bourn, C.; Ng, A.Y. Cardiologist-level arrhythmia detection with convolutional neural networks. arXiv 2017, arXiv:1707.01836. [Google Scholar]
- Baloglu, U.B.; Talo, M.; Yildirim, O.; San Tan, R.; Acharya, U.R. Classification of myocardial infarction with multi-lead ECG signals and deep CNN. Pattern Recognit. Lett. 2019, 122, 23–30. [Google Scholar] [CrossRef]
- Wasimuddin, M.; Elleithy, K.; Abuzneid, A.; Faezipour, M.; Abuzaghleh, O. Multiclass ECG signal analysis using global average-based 2-D convolutional neural network modeling. Electronics 2021, 10, 170. [Google Scholar] [CrossRef]
- Tang, X.; Hu, Q.; Tang, W. A real-time QRS detection system with PR/RT interval and ST segment measurements for wearable ECG sensors using parallel delta modulators. IEEE Trans. Biomed. Circuits Syst. 2018, 12, 751–761. [Google Scholar] [CrossRef] [PubMed]
- Taddei, A.; Distante, G.; Emdin, M.; Pisani, P.; Moody, G.; Zeelenberg, C.; Marchesi, C. The European ST-T database: Standard for evaluating systems for the analysis of ST-T changes in ambulatory electrocardiography. Eur. Heart J. 1992, 13, 1164–1172. [Google Scholar] [CrossRef] [PubMed]
- Sufi, F.; Khalil, I. Diagnosis of cardiovascular abnormalities from compressed ECG: A data mining-based approach. IEEE Trans. Inf. Technol. Biomed. 2010, 15, 33–39. [Google Scholar] [CrossRef] [PubMed]
- Zhao, Z.; Zhang, Y. SQI quality evaluation mechanism of single-lead ECG signal based on simple heuristic fusion and fuzzy comprehensive evaluation. Front. Physiol. 2018, 9, 727. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Campero Jurado, I.; Vanschoren, J. Multi-fidelity optimization method with Asynchronous Generalized Island Model for AutoML. In Proceedings of the Genetic and Evolutionary Computation Conference Companion, Boston, MA, USA, 9–13 July 2022. [Google Scholar]
- Thornton, C.; Hutter, F.; Hoos, H.H.; Leyton-Brown, K. Auto-WEKA: Combined selection and hyperparameter optimization of classification algorithms. In Proceedings of the 19th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Chicago, IL, USA, 11–14 August 2013; pp. 847–855. [Google Scholar]
- Kohavi, R. A study of cross-validation and bootstrap for accuracy estimation and model selection. In Proceedings of the Fourteenth International Joint Conference on Artificial Intelligence, Montreal, QC, Canada, 20–25 August 1995; Volume 14, pp. 1137–1145. [Google Scholar]
- Gijsbers, P.; Vanschoren, J. GAMA: A General Automated Machine Learning Assistant. In Machine Learning and Knowledge Discovery in Databases. Applied Data Science and Demo Track, Proceedings of the ECML PKDD 2020, Ghent, Belgium, 14–18 September 2020; Springer: Cham, Switzerland, 2021; pp. 560–564. [Google Scholar] [CrossRef]
- Bellido-Jiménez, J.A.; Estévez, J.; Vanschoren, J.; García-Marín, A.P. AgroML: An Open-Source Repository to Forecast Reference Evapotranspiration in Different Geo-Climatic Conditions Using Machine Learning and Transformer-Based Models. Agronomy 2022, 12, 656. [Google Scholar] [CrossRef]
- Li, L.; Jamieson, K.; Rostamizadeh, A.; Gonina, E.; Hardt, M.; Recht, B.; Talwalkar, A. Massively parallel hyperparameter tuning. In Proceedings of the ICLR 2019 Conference, Orleans, LA, USA, 6–9 May 2018. [Google Scholar]
- Izzo, D.; Ruciński, M.; Biscani, F. The generalized island model. In Parallel Architectures and Bioinspired Algorithms; Springer: Berlin/Heidelberg, Germany, 2012; pp. 151–169. [Google Scholar]
- Nvidia A100 GPUs Power the Modern Data Center. Available online: https://www.nvidia.com/en-us/data-center/a100/ (accessed on 24 June 2022).
Subset | Features |
---|---|
A | Time–distance (millisecond) from the R-peak to: to P-peak, Q-peak, S-peak and T-peak. Time–distance from R peak to P onset, P offset and T offset. |
B | Average, median, std, kSQI, pSQI, sSQI, distance from the baseline to 80 ms after the J-point, and distance from baseline to R offset. |
C | Average, median, std, kSQI, pSQI and sSQI. |
D | Average, median, std, kSQI, pSQI, sSQI and distance from the baseline to J-point. |
Average | Median | STD | kSQI | pSQI | sSQI | Distance J-Isoelectric | Label | |
---|---|---|---|---|---|---|---|---|
mean | −0.00053 | −0.021430 | 0.1936990 | 8.710861 | 0.7693565 | 1.165187 | 0.13038 | 0.6474574 |
std | 0.02352 | 0.051486 | 0.0913441 | 6.670272 | 0.1121232 | 2.197134 | 0.207263 | 0.6117591 |
min | −1.05441 | −2.004105 | 0.0071646 | −1.875964 | 0.0927229 | −7.886973 | −2.58223 | 0.0 |
25% | −0.00818 | −0.0453055 | 0.1341400 | 2.930704 | 0.7013930 | −0.454002 | 0.023201 | 0.0 |
50% | 0.000163 | −0.0163238 | 0.1810513 | 7.748890 | 0.7742705 | 1.4952312 | 0.1166997 | 1.0 |
75% | 0.007835 | 0.0085502 | 0.2439483 | 13.43589 | 0.8516178 | 2.9652297 | 0.2589208 | 1.0 |
max | 1.416646 | 3.1385591 | 4.3804516 | 65.90857 | 0.9986373 | 6.4377815 | 3.568406 | 2.0 |
Model | MSE | MAE |
---|---|---|
ELM | 0.0305 | 0.1335 |
LSTM | 0.0377 | 0.1316 |
CNN | 0.0368 | 0.1294 |
MLP | 0.0418 | 0.1387 |
Transformers CNN | 0.03668 | 0.1290 |
Transformers LSTM | 0.0418 | 0.1387 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Campero Jurado, I.; Fedjajevs, A.; Vanschoren, J.; Brombacher, A. Interpretable Assessment of ST-Segment Deviation in ECG Time Series. Sensors 2022, 22, 4919. https://doi.org/10.3390/s22134919
Campero Jurado I, Fedjajevs A, Vanschoren J, Brombacher A. Interpretable Assessment of ST-Segment Deviation in ECG Time Series. Sensors. 2022; 22(13):4919. https://doi.org/10.3390/s22134919
Chicago/Turabian StyleCampero Jurado, Israel, Andrejs Fedjajevs, Joaquin Vanschoren, and Aarnout Brombacher. 2022. "Interpretable Assessment of ST-Segment Deviation in ECG Time Series" Sensors 22, no. 13: 4919. https://doi.org/10.3390/s22134919
APA StyleCampero Jurado, I., Fedjajevs, A., Vanschoren, J., & Brombacher, A. (2022). Interpretable Assessment of ST-Segment Deviation in ECG Time Series. Sensors, 22(13), 4919. https://doi.org/10.3390/s22134919