The classification of time series data is a well-studied problem with numerous practical applications, such as medical diagnosis and speech recognition. A popular and effective approach is to classify new time series in the same way as their nearest neighbours, whereby proximity is defined using Dynamic Time Warping (DTW) distance, a measure analogous to sequence alignment in bioinformatics. However, practitioners are not only interested in accurate classification, they are also interested in why a time series is classified a certain way. To this end, we introduce here the problem of finding a minimum length subsequence of a time series, the removal of which changes the outcome of the classification under the nearest neighbour algorithm with DTW distance. Informally, such a subsequence is expected to be relevant for the classification and can be helpful for practitioners in interpreting the outcome. We describe a simple but optimized implementation for detecting these subsequences and define an accompanying measure to quantify the relevance of every time point in the time series for the classification. In tests on electrocardiogram data we show that the algorithm allows discovery of important subsequences and can be helpful in detecting abnormalities in cardiac rhythms distinguishing sick from healthy patients.
ECG-NAT: A Self-supervised Neighborhood Attention Transformer for Multi-lead Electrocardiogram Classification
Department of Computer Engineering, University of Kurdistan(库尔德斯坦大学计算机工程系);Department of Mathematics and Operational Research, University of Mons(蒙斯大学数学与运筹学系)
Unexpected sawtooth artifact in beat-to-beat pulse transit time measured from patient monitor data
Taipei Veteran General Hospital(台北荣民总医院);Chang Gung Memorial Hospital(长庚纪念医院);Chang Gung University(长庚大学);University of Washington(华盛顿大学);Duke University(杜克大学);National Center for Theoretical Sciences(理论科学研究中心)
Classification of Arrhythmia by Using Deep Learning with 2-D ECG Spectral Image Representation
University of Engineering and Technology Taxila(塔克西拉工程技术大学);University of Central Florida(中佛罗里达大学);Hankuk University of Foreign Studies(韩国外国语大学);Xiamen University Malaysia(厦门大学马来西亚分校)
Development of Interpretable Machine Learning Models to Detect Arrhythmia based on ECG Data
Universität Heidelberg(海德堡大学)
心电图(ECG)信号的分析可能是耗时的,因为它是由心脏病专家手动执行的。因此,越来越多地提出通过机器学习(ML)分类的自动化,这将允许ML模型学习心跳的特征并检测异常。缺乏可解释性阻碍了深度学习在医疗保健中的应用。通过这些模型的可解释性,我们将了解机器学习算法如何做出决策,以及分类遵循什么模式。本文基于最先进的模型构建了卷积神经网络(CNN)和长短期记忆(LSTM)分类器,并将它们的性能和可解释性与浅层分类器进行了比较。在这里,利用全局和局部可解释性方法来理解整个数据集上因变量和自变量之间的相互作用,并分别检查每个样本中的模型决策。部分依赖图、Shapley加法分解、置换特征重要性和梯度加权类激活图(Grad-Cam)是在分类ECG节律的时间序列ML模型上实现的四种可解释性技术。特别是,我们利用梯度凸轮,这是一个本地的可解释性技术,并检查其可解释性是否在每个类内正确和错误分类的ECG搏动之间的变化。此外,使用K折交叉验证和Leave Groups Out技术对分类器进行评估,并且我们使用非参数统计检验来检查差异是否显著。研究发现,Grad-CAM是解释所提出的CNN和LSTM模型预测的最有效的可解释性技术。我们的结论是,所有高性能分类器在进行预测时都会考虑ECG节律的QRS波群。