CN118152914B - Semantic structure diagram guided ECG self-coding method and system - Google Patents
Semantic structure diagram guided ECG self-coding method and system Download PDFInfo
- Publication number
- CN118152914B CN118152914B CN202410306801.4A CN202410306801A CN118152914B CN 118152914 B CN118152914 B CN 118152914B CN 202410306801 A CN202410306801 A CN 202410306801A CN 118152914 B CN118152914 B CN 118152914B
- Authority
- CN
- China
- Prior art keywords
- original
- similarity
- signal
- semantic
- ecg
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000010586 diagram Methods 0.000 title claims abstract description 37
- 230000006870 function Effects 0.000 claims abstract description 46
- 239000011159 matrix material Substances 0.000 claims abstract description 39
- 230000001629 suppression Effects 0.000 claims abstract description 6
- 230000008569 process Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 14
- 238000010276 construction Methods 0.000 claims description 5
- 230000004927 fusion Effects 0.000 claims description 3
- 230000003313 weakening effect Effects 0.000 claims 2
- 238000012545 processing Methods 0.000 abstract description 7
- 238000010801 machine learning Methods 0.000 abstract description 5
- 238000012549 training Methods 0.000 description 8
- 230000009467 reduction Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 230000005764 inhibitory process Effects 0.000 description 5
- 238000012795 verification Methods 0.000 description 4
- 238000012937 correction Methods 0.000 description 3
- 238000002474 experimental method Methods 0.000 description 3
- 238000000718 qrs complex Methods 0.000 description 3
- 239000008280 blood Substances 0.000 description 2
- 210000004369 blood Anatomy 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013135 deep learning Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000003745 diagnosis Methods 0.000 description 2
- 238000004821 distillation Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 210000002837 heart atrium Anatomy 0.000 description 2
- 208000019622 heart disease Diseases 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 230000033764 rhythmic process Effects 0.000 description 2
- 206010003658 Atrial Fibrillation Diseases 0.000 description 1
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- HCHKCACWOHOZIP-UHFFFAOYSA-N Zinc Chemical compound [Zn] HCHKCACWOHOZIP-UHFFFAOYSA-N 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 206010003119 arrhythmia Diseases 0.000 description 1
- 230000006793 arrhythmia Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000747 cardiac effect Effects 0.000 description 1
- 238000003759 clinical diagnosis Methods 0.000 description 1
- 230000008602 contraction Effects 0.000 description 1
- 238000002405 diagnostic procedure Methods 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000005802 health problem Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000003205 muscle Anatomy 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000001902 propagating effect Effects 0.000 description 1
- 238000011946 reduction process Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 208000024891 symptom Diseases 0.000 description 1
- 230000002861 ventricular Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2413—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
- G06F18/24147—Distances to closest patterns, e.g. nearest neighbour classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/10—Pre-processing; Data cleansing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/213—Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
- G06F18/232—Non-hierarchical techniques
- G06F18/2321—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
- G06F18/23213—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/25—Fusion techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/048—Activation functions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/09—Supervised learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/096—Transfer learning
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Probability & Statistics with Applications (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
Description
技术领域Technical Field
本发明属于生物信号数据机器学习技术领域,具体涉及一种语义结构图引导的ECG自编码方法及系统。The present invention belongs to the technical field of machine learning of biological signal data, and in particular relates to an ECG self-encoding method and system guided by a semantic structure graph.
背景技术Background Art
本部分的陈述仅仅是提供了与本发明相关的背景技术信息,不必然构成在先技术。The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
医学诊断能够为患者确定所患疾病或状况,并解释其症状的发展过程。然而,在医疗保健服务和医生资源有限的情况下,诊断过程往往耗时且容易受到主观解释和观察者之间的差异影响。因此,通过计算机辅助干预临床诊断可以提高医疗保健系统的质量并降低成本。近年来,随着深度学习的发展,将特征工程任务整合到学习任务中的深度学习为解决这些需求提供了一条令人兴奋的途径,也被广泛地应用于生物信号识别检测中。然而,生物信号与图像、文本、视频等媒体数据不同,其识别错误概率风险远高于上述应用场景。以心电图(ECG)信号为例,一旦检测出现误差,其结果对患者可能具有致命性影响。一般采集到的ECG信号伴随着电极运动伪影、肌肉伪影和基线漂移等噪声,这些噪声会对心电信号的形状特征产生不利影响,从而给特征工程提出了挑战,因此需要进行降噪处理。目前大多数降噪方法都是无监督的,提取的特征缺乏信号原有的语义信息,从而不利于后续智能检测。Medical diagnosis can identify the disease or condition suffered by patients and explain the development of their symptoms. However, with limited healthcare services and physician resources, the diagnostic process is often time-consuming and susceptible to subjective interpretation and differences between observers. Therefore, computer-assisted intervention in clinical diagnosis can improve the quality of the healthcare system and reduce costs. In recent years, with the development of deep learning, deep learning that integrates feature engineering tasks into learning tasks has provided an exciting way to address these needs and has also been widely used in biosignal recognition and detection. However, unlike media data such as images, text, and videos, biosignals have a much higher probability of recognition error than the above application scenarios. Taking electrocardiogram (ECG) signals as an example, once an error occurs in the detection, the result may have a fatal impact on the patient. Generally, the collected ECG signals are accompanied by noise such as electrode motion artifacts, muscle artifacts, and baseline drift. These noises will adversely affect the shape characteristics of the ECG signal, thus posing a challenge to feature engineering, so noise reduction processing is required. At present, most noise reduction methods are unsupervised, and the extracted features lack the original semantic information of the signal, which is not conducive to subsequent intelligent detection.
正常的心脏电信号是一种心电示波器描绘出来的复杂波形,一个周期通常包括P波、QRS复合波和T波。当心脏稳定跳动时,根据特定规律形成典型的ECG信号。其中P波是第一个峰值,它揭示了电脉冲在心脏两个心房之间的传导过程。当心房收缩时,血液被迅速泵入心室,随后迅速放松。这一步骤对于确保血液正常流动至关重要。电脉冲传递到心室,在QRS复合波中得以记录。QRS复合波作为心电图的重要组成部分,反映了心脏的电活动。当心室收缩结束时,T波出现,表明电脉冲已停止传播并使得心室放松。具体结构如图1所示。心电图可用于检测和观察各种心脏疾病和心律失常,有助于医生及时发现并处理潜在的健康问题,从而为患者提供更优质的治疗与护理。因此,在心脏病诊断和治疗中,心电图扮演着重要角色。A normal cardiac electrical signal is a complex waveform depicted by an electrocardiogram oscilloscope, and one cycle usually includes a P wave, a QRS complex wave, and a T wave. When the heart beats steadily, a typical ECG signal is formed according to a specific rule. Among them, the P wave is the first peak, which reveals the conduction process of the electrical impulse between the two atria of the heart. When the atria contract, blood is quickly pumped into the ventricles, and then quickly relaxes. This step is essential to ensure the normal flow of blood. The electrical impulse is transmitted to the ventricles and recorded in the QRS complex wave. As an important part of the electrocardiogram, the QRS complex wave reflects the electrical activity of the heart. When the ventricular contraction ends, the T wave appears, indicating that the electrical impulse has stopped propagating and the ventricles have relaxed. The specific structure is shown in Figure 1. The electrocardiogram can be used to detect and observe various heart diseases and arrhythmias, which helps doctors to detect and deal with potential health problems in a timely manner, thereby providing patients with better treatment and care. Therefore, the electrocardiogram plays an important role in the diagnosis and treatment of heart disease.
高维心电图数据中存在大量不相关特征,这使得无监督机器学习技术难以同时获得较高的敏感性和特异性。而且经过降噪特征提取过程,心电图中的某些弱波段特征可能因不明显而被删除,这将直接影响后续智能算法的检测精度。There are a large number of irrelevant features in high-dimensional ECG data, which makes it difficult for unsupervised machine learning technology to achieve high sensitivity and specificity at the same time. Moreover, after the noise reduction feature extraction process, some weak band features in the ECG may be deleted because they are not obvious, which will directly affect the detection accuracy of subsequent intelligent algorithms.
发明内容Summary of the invention
为了解决上述问题,本发明提出了一种语义结构图引导的ECG自编码方法及系统,本发明在监督学习的情况下,通过融合信号的语义信息和固有结构信息,对信号进行自编码处理,并放大其中与语义异常相关的波段。经过编码后得到的ECG感知信号可有效促进后续智能算法再次特征蒸馏,并便于深度机器学习智能算法对ECG信号的靶点实现精准定位,为心电信号类别精准识别和分析奠定基础。In order to solve the above problems, the present invention proposes a semantic structure graph-guided ECG self-encoding method and system. Under supervised learning, the present invention performs self-encoding processing on the signal by fusing the semantic information and inherent structure information of the signal, and amplifies the bands related to semantic abnormalities. The ECG perception signal obtained after encoding can effectively promote the subsequent intelligent algorithm to perform feature distillation again, and facilitate the deep machine learning intelligent algorithm to accurately locate the target of the ECG signal, laying the foundation for accurate identification and analysis of ECG signal categories.
根据一些实施例,本发明的第一方案提供了一种语义结构图引导的ECG自编码方法,采用如下技术方案:According to some embodiments, a first solution of the present invention provides a semantic structure diagram guided ECG self-encoding method, which adopts the following technical solution:
一种语义结构图引导的ECG自编码方法,包括:A semantic structure graph guided ECG self-encoding method, comprising:
获取原始心电图ECG信号;Obtaining original electrocardiogram (ECG) signal;
利用原始心电图ECG信号构建原始信号的相似矩阵,利用原始心电图ECG信号对应的标签信息构建语义相似图;The original electrocardiogram (ECG) signal is used to construct a similarity matrix of the original signal, and the label information corresponding to the original electrocardiogram (ECG) signal is used to construct a semantic similarity graph;
融合原始信号的相似矩阵和语义相似图,构建语义结构图;The similarity matrix and semantic similarity graph of the original signal are integrated to construct a semantic structure graph;
基于语义结构图,利用预先训练好的自动编码器进行编码,得到编码后的ECG信号;Based on the semantic structure graph, a pre-trained autoencoder is used for encoding to obtain an encoded ECG signal;
其中,所述自动编码器训练的损失函数在原始损失函数的基础上引入语义结构图与抑制参数矩阵以监督隐空间特征的学习,保留ECG信号的关键信息。Among them, the loss function of the automatic encoder training introduces a semantic structure graph and an inhibition parameter matrix on the basis of the original loss function to supervise the learning of latent space features and retain the key information of the ECG signal.
进一步地,采用K近邻利用原始心电图ECG信号构建原始信号的相似矩阵。Furthermore, the K nearest neighbor method is used to construct a similarity matrix of the original signal using the original electrocardiogram (ECG) signal.
进一步地,所述利用原始心电图ECG信号对应的标签信息构建语义相似图,具体为:Furthermore, the semantic similarity graph is constructed by using the label information corresponding to the original electrocardiogram (ECG) signal, specifically:
如果两个不同的原始ECG信号共享一个标签,则为1,否则则为零;If two different raw ECG signals share a label, it is 1, otherwise it is zero;
如果原始ECG信号对应的标签信息是one-hot向量,则当该标签信息的转置与另外一个原始信号对应的标签信息的乘积大于零时,则为1;If the label information corresponding to the original ECG signal is a one-hot vector, then when the product of the transpose of the label information and the label information corresponding to another original signal is greater than zero, it is 1;
基于上述原则构建语义相似图。A semantic similarity graph is constructed based on the above principles.
进一步地,所述融合原始信号的相似矩阵和语义相似图,构建语义结构图,具体为:Furthermore, the similarity matrix and the semantic similarity graph of the fused original signal are used to construct a semantic structure graph, specifically:
如果则说明原始信号xi和xj既是近邻关系又共享同一个标签,属于类内紧邻关系,相似度最强;if This means that the original signals x i and x j are both close neighbors and share the same label, belonging to the intra-class close neighbor relationship, and have the strongest similarity;
如果则说明xi和xj共享同一个标签但不是近邻关系,属于类内非紧邻关系,相似度不够强,属于需要强化相似度的原始信号;if This means that xi and xj share the same label but are not in a close neighbor relationship. They are in a non-close neighbor relationship within the class, and the similarity is not strong enough. They are original signals that need to strengthen the similarity.
如果则xi和xj是近邻关系但不属于同一类,此类情况属于需要弱化相似度的范畴;if Then xi and xj are neighbors but do not belong to the same category. This situation belongs to the category where the similarity needs to be weakened;
如果则意味着原始信号xi和xj既不是近邻关系也不属于同一类,相似度为0;if This means that the original signals xi and xj are neither neighbors nor belong to the same category, and the similarity is 0;
其中,是语义相似图中的某个元素,是原始信号的相似矩阵中的某个元素。in, is an element in the semantic similarity graph, is an element in the similarity matrix of the original signal.
进一步地,所述利用预先训练好的自动编码器进行编码,得到编码后的ECG信号,具体为:Furthermore, the encoding is performed using a pre-trained autoencoder to obtain an encoded ECG signal, specifically:
编码器利用表示,给定一个原始信号xi,其潜在的特征zi可以由以下公式得到:Encoder Utilization It means that given an original signal x i , its potential feature z i can be obtained by the following formula:
其中,表示原始信号xi的k维潜在表示,表示编码过程需要学习的权参;in, represents the k-dimensional potential representation of the original signal xi , Represents the weights that need to be learned during the encoding process;
用表示的网络输出,解码器函数用fθ表示,重构的可以由zi解码得到:use The network output represented by , the decoder function is represented by f θ , and the reconstructed It can be decoded from z i to get:
其中,θ表示解码过程需要学习的权参。Among them, θ represents the weight parameter that needs to be learned in the decoding process.
进一步地,所述自动编码器训练的损失函数在原始损失函数的基础上引入语义结构图与抑制参数矩阵以监督隐空间特征的学习,具体为:Furthermore, the loss function of the autoencoder training introduces a semantic structure graph and an inhibition parameter matrix based on the original loss function to supervise the learning of latent space features, specifically:
其中,γ,λ>0分别为语义结构矫正部分和正则化项部分的超参,是语义结构图模块损失函数,是二进制交叉熵损失函数,是正则化损失函数。Among them, γ,λ>0 are the hyperparameters of the semantic structure correction part and the regularization part respectively. is the loss function of the semantic structure graph module, is the binary cross entropy loss function, is the regularized loss function.
进一步地,所述语义结构图模块损失函数定义如下:Furthermore, the semantic structure graph module loss function is defined as follows:
其中,⊙表示元素乘积,语义结构图抑制参数矩阵潜在信号表示 in, ⊙ represents element product, semantic structure diagram Suppression parameter matrix Potential signal representation
所述正则化损失函数,具体为:The regularized loss function is specifically:
其中,正则化项行稀疏正则化 Among them, the regularization term Row Sparsity Regularization
根据一些实施例,本发明的第二方案提供了一种语义结构图引导的ECG自编码系统,采用如下技术方案:According to some embodiments, a second solution of the present invention provides an ECG self-encoding system guided by a semantic structure graph, which adopts the following technical solution:
一种语义结构图引导的ECG自编码系统,包括:A semantic structure graph guided ECG self-encoding system, comprising:
信号获取模块,被配置为获取原始心电图ECG信号;A signal acquisition module is configured to acquire an original electrocardiogram (ECG) signal;
语义结构图构建模块,被配置为利用原始心电图ECG信号构建原始信号的相似矩阵,利用原始心电图ECG信号对应的标签信息构建语义相似图;A semantic structure graph construction module is configured to construct a similarity matrix of the original signal using the original electrocardiogram ECG signal, and to construct a semantic similarity graph using label information corresponding to the original electrocardiogram ECG signal;
融合原始信号的相似矩阵和语义相似图,构建语义结构图;The similarity matrix and semantic similarity graph of the original signal are integrated to construct a semantic structure graph;
信号自编码模块,被配置为基于语义结构图,利用预先训练好的自动编码器进行编码,得到编码后的ECG信号;A signal autoencoding module is configured to encode based on the semantic structure graph using a pre-trained autoencoder to obtain an encoded ECG signal;
其中,所述自动编码器训练的损失函数在原始损失函数的基础上引入语义结构图与抑制参数矩阵以监督隐空间特征的学习,保留ECG信号的关键信息。Among them, the loss function of the automatic encoder training introduces a semantic structure graph and an inhibition parameter matrix on the basis of the original loss function to supervise the learning of latent space features and retain the key information of the ECG signal.
根据一些实施例,本发明的第三方案提供了一种计算机可读存储介质。According to some embodiments, a third aspect of the present invention provides a computer-readable storage medium.
一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述第一个方面所述的一种语义结构图引导的ECG自编码方法中的步骤。A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a semantic structure graph-guided ECG self-encoding method as described in the first aspect above.
根据一些实施例,本发明的第四方案提供了一种计算机设备。According to some embodiments, a fourth aspect of the present invention provides a computer device.
一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述第一个方面所述的一种语义结构图引导的ECG自编码方法中的步骤。A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in a semantic structure diagram guided ECG self-encoding method as described in the first aspect above are implemented.
与现有技术相比,本发明的有益效果为:Compared with the prior art, the present invention has the following beneficial effects:
本发明提供了一种语义结构图引导的ECG自编码方法及系统,在监督学习的情况下,通过融合信号的语义信息和固有结构信息,监督心电图(ECG)信号的编码过程,使得所提取的编码同时包含同类标签和近邻信号的相似信息,并削弱其他信息,以实现信号降噪效果。经过编码后得到的ECG感知信号可有效促进后续智能算法再次特征蒸馏,并便于深度机器学习智能算法对ECG信号的靶点实现精准定位,为心电信号类别精准识别和分析奠定基础。The present invention provides a semantic structure graph guided ECG self-encoding method and system. Under supervised learning, the encoding process of the electrocardiogram (ECG) signal is supervised by fusing the semantic information and inherent structure information of the signal, so that the extracted code contains similar information of the same label and neighboring signals at the same time, and weakens other information to achieve signal noise reduction effect. The ECG perception signal obtained after encoding can effectively promote the subsequent intelligent algorithm to perform feature distillation again, and facilitate the deep machine learning intelligent algorithm to accurately locate the target of the ECG signal, laying the foundation for accurate identification and analysis of ECG signal categories.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
构成本发明的一部分的说明书附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
图1是本发明实施例中所述的一种语义结构图引导的ECG自编码方法流程图;FIG1 is a flow chart of an ECG self-encoding method guided by a semantic structure graph according to an embodiment of the present invention;
图2是本发明实施例中所述的一个周期内的标准ECG信号各个波段定义示意图;FIG2 is a schematic diagram of the definition of each band of a standard ECG signal within one cycle according to an embodiment of the present invention;
图3是本发明实施例中基于语义结构图的自编码器网络结构图;FIG3 is a diagram of an autoencoder network structure based on a semantic structure diagram in an embodiment of the present invention;
图4是本发明实施例中提取的编码信号和原始信号的可视化比对图。FIG. 4 is a visualized comparison diagram of the extracted coded signal and the original signal in an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
下面结合附图与实施例对本发明作进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
应该指出,以下详细说明都是例示性的,旨在对本发明提供进一步的说明。除非另有指明,本文使用的所有技术和科学术语具有与本发明所属技术领域的普通技术人员通常理解的相同含义。It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
需要注意的是,这里所使用的术语仅是为了描述具体实施方式,而非意图限制根据本发明的示例性实施方式。如在这里所使用的,除非上下文另外明确指出,否则单数形式也意图包括复数形式,此外,还应当理解的是,当在本说明书中使用术语“包含”和/或“包括”时,其指明存在特征、步骤、操作、器件、组件和/或它们的组合。It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and/or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and/or combinations thereof.
在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
实施例一Embodiment 1
如图1所示,本实施例提供了一种语义结构图引导的ECG自编码方法,本实施例以该方法应用于服务器进行举例说明,可以理解的是,该方法也可以应用于终端,还可以应用于包括终端和服务器和系统,并通过终端和服务器的交互实现。服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务器、云通信、中间件服务、域名服务、安全服务CDN、以及大数据和人工智能平台等基础云计算服务的云服务器。终端可以是智能手机、平板电脑、笔记本电脑、台式计算机、智能音箱、智能手表等,但并不局限于此。终端以及服务器可以通过有线或无线通信方式进行直接或间接地连接,本申请在此不做限制。本实施例中,该方法包括以下步骤:As shown in Figure 1, this embodiment provides an ECG self-encoding method guided by a semantic structure diagram. This embodiment uses the method applied to a server as an example. It can be understood that the method can also be applied to a terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network servers, cloud communications, middleware services, domain name services, security services CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in this application. In this embodiment, the method includes the following steps:
获取原始心电图ECG信号;Obtaining original electrocardiogram (ECG) signal;
利用原始心电图ECG信号构建原始信号的相似矩阵,利用原始心电图ECG信号对应的标签信息构建语义相似图;The original electrocardiogram (ECG) signal is used to construct a similarity matrix of the original signal, and the label information corresponding to the original electrocardiogram (ECG) signal is used to construct a semantic similarity graph;
融合原始信号的相似矩阵和语义相似图,构建语义结构图;The similarity matrix and semantic similarity graph of the original signal are integrated to construct a semantic structure graph;
基于语义结构图,利用预先训练好的自动编码器进行编码,得到编码后的ECG信号;Based on the semantic structure graph, a pre-trained autoencoder is used for encoding to obtain an encoded ECG signal;
其中,所述自动编码器训练的损失函数在原始损失函数的基础上引入语义结构图与抑制参数矩阵以监督隐空间特征的学习,保留ECG信号的关键信息。Among them, the loss function of the automatic encoder training introduces a semantic structure graph and an inhibition parameter matrix on the basis of the original loss function to supervise the learning of latent space features and retain the key information of the ECG signal.
如图2所示,给定一个ECG信号集其中,表示维度为m的ECG信号,表示信号xi所对应的标签信息。As shown in Figure 2, given an ECG signal set in, represents an ECG signal of dimension m, Represents the label information corresponding to the signal xi .
为了构建ECG自编码器,针对训练数据,首先根据原始信号的固有结构和语义相似图来构建语义结构图,详细过程如下:In order to construct the ECG autoencoder, for the training data, we first construct a semantic structure graph based on the inherent structure of the original signal and the semantic similarity graph. The detailed process is as follows:
(1)首先利用原始信号xi构建固有结构图,为简单起见,利用K近邻构建原始信号的相似矩阵定义如下:(1) First, the original signal xi is used to construct the inherent structure graph. For simplicity, the similarity matrix of the original signal is constructed using K nearest neighbors. The definition is as follows:
(2)利用数据集的标签信息构建语义相似图如果原始信号xi和xj共享一个标签,则令否则赋值为0。如果标签yi是one-hot向量,则当时,具体的定义如下:(2) Using the label information of the dataset Constructing a semantic similarity graph If the original signals xi and xj share a label, then let Otherwise, it is assigned a value of 0. If the label yi is a one-hot vector, then hour, The specific definitions are as follows:
(3)融合固有的相似结构矩阵和语义相似图构建语义结构图详细的过程如下:如果则说明原始信号xi和xj既是近邻关系又共享同一个标签,属于类内紧邻关系,相似度最强;如果则说明xi和xj共享同一个标签但不是近邻关系,属于类内非紧邻关系,相似度不够强,属于需要强化相似度的原始信号;如果则xi和xj是近邻关系但不属于同一类,此类情况属于需要弱化相似度的范畴;如果则意味着原始信号xi和xj既不是近邻关系也不属于同一类,相似度为0。具体的定义如下:(3) Fusion of inherent similarity structure matrix and semantic similarity graph Constructing semantic structure graph The detailed process is as follows: If This means that the original signals xi and xj are both close neighbors and share the same label, belonging to the close neighbor relationship within the class, and the similarity is the strongest; if This means that xi and xj share the same label but are not neighbors, which means they are not in a close proximity within the class. The similarity is not strong enough, and they are original signals that need to strengthen the similarity. Then xi and xj are neighbors but do not belong to the same category. This situation needs to weaken the similarity. If This means that the original signals xi and xj are neither neighbors nor belong to the same class, and the similarity is 0. The specific definition is as follows:
其中,∈>0为控制相似度的阈值参数。Among them, ∈>0 is the threshold parameter that controls the similarity.
构建完了语义结构图就可以利用来约束提取的潜在信号表示也就是让Z尽可能地保持的语义结构相似性,然而,由于语义结构图高度稀疏化,直接逼近可能会导致潜在信号Z损失过大,为此引入抑制参数矩阵其定义如下:Completed the semantic structure diagram You can use To constrain the extracted latent signal representation That is to keep Z as close as possible. However, due to the semantic structure graph Highly sparse, direct approximation may result in excessive loss of the potential signal Z, so the suppression parameter matrix is introduced Its definition is as follows:
表示为了便于优化,语义结构图模块损失定义如下:In order to facilitate optimization, the semantic structure graph module loss is defined as follows:
其中,⊙表示元素乘积。in, ⊙ represents element-wise product.
然后可以利用该损失来矫正自编码器的训练,基于语义结构图的自编码器网络结构如图3所示。本质是在自编码器网络中的隐含层加入语义结构图来引导修正网络的输出。This loss can then be used to correct the training of the autoencoder. The network structure of the autoencoder based on the semantic structure graph is shown in Figure 3. The essence is to add a semantic structure graph to the hidden layer of the autoencoder network to guide the output of the correction network.
自动编码器是一种无监督的深度网络模型,通过学习输入数据的隐含特征进行编码(encoding),并利用所学到的新特征对原始输入数据进行解码(decoding)重构。这种方法借助神经网络的非线性特性,能够有效地压缩原始数据,实现特征降维和降噪处理,并将提取得到的新特征应用于有监督学习模型中以完成后续智能检测任务。然而,自编码器的隐空间缺乏可解释和可利用的结构,无法确保在降维过程中仍能保留主要的结构信息,甚至可能出现严重过拟合现象。这也意味着某些隐空间特征在解码后可能变得毫无意义。An autoencoder is an unsupervised deep network model that learns the implicit features of input data for encoding and uses the learned new features to decode and reconstruct the original input data. This method uses the nonlinear characteristics of neural networks to effectively compress the original data, achieve feature dimensionality reduction and noise reduction, and apply the extracted new features to the supervised learning model to complete subsequent intelligent detection tasks. However, the latent space of the autoencoder lacks an interpretable and usable structure, and cannot ensure that the main structural information can be retained during the dimensionality reduction process, and may even suffer from severe overfitting. This also means that some latent space features may become meaningless after decoding.
鉴于此,利用标签信息构建语义相似矩阵,以监督隐空间特征的学习,并引入原始数据的图结构以保持其固有结构,使学得的潜在特征能够尽可能地保持原始相似结构,如图3所示。为实现这一目标,本实施例在原始自编码器损失函数的基础上加上了公式(5)。具体的公式如下:In view of this, the semantic similarity matrix is constructed using label information to supervise the learning of latent space features, and the graph structure of the original data is introduced to maintain its inherent structure, so that the learned potential features can maintain the original similarity structure as much as possible, as shown in Figure 3. To achieve this goal, this embodiment adds formula (5) on the basis of the original autoencoder loss function. The specific formula is as follows:
编码器利用表示,给定一个原始信号xi,其潜在的特征zi可以由公式(6)得到:Encoder Utilization It means that, given an original signal x i , its potential feature z i can be obtained by formula (6):
其中,表示原始信号xi的k维潜在表示,表示编码过程需要学习的权参。in, represents the k-dimensional potential representation of the original signal xi , Represents the weights that need to be learned during the encoding process.
用表示的网络输出,解码器函数用fθ表示,重构的可以由zi解码得到:use The network output represented by , the decoder function is represented by f θ , and the reconstructed It can be decoded from z i to get:
其中,θ表示解码过程需要学习的权参。自编码器的目标是重构原始信号,也就是为了实现这一目的,需要定义一个损失函数来度量两者的差异 Among them, θ represents the weight parameter that needs to be learned in the decoding process. The goal of the autoencoder is to reconstruct the original signal, that is, To achieve this goal, we need to define a loss function to measure the difference between the two
自编码器常用两种损失函数为均方差(RMSE)和二进制交叉熵。两者的主要区别在于二元交叉熵对大误差的惩罚更强,可以将重构信号值平均化。因此采用二进制交叉熵损失。为使用该损失,本实施例将原始信号xi进行[0,1]归一化处理。二进制交叉熵损失(LCE)定义如下:Two common loss functions for autoencoders are mean square error (RMSE) and binary cross entropy. The main difference between the two is that binary cross entropy has a stronger penalty for large errors and can average the reconstructed signal values. Therefore, binary cross entropy loss is used. To use this loss, this embodiment normalizes the original signal xi to [0,1]. The binary cross entropy loss (LCE) is defined as follows:
另外,关于网络的激活函数,输入层和输出层我们都采用sigmoid函数,而对于中间层我们采用SERLU函数,i.e.,因为SERLU函数带有自我正则化属性,能够将SERLU的输出在统计上推向0均值。In addition, regarding the activation function of the network, we use the sigmoid function for the input layer and the output layer, and the SERLU function for the middle layer, ie, Because the SERLU function has a self-regularization property, the output of SERLU can be statistically pushed to zero mean.
此外,针对权参Θ={W1,W2,…,Wlayer},本实施例期望通过权参来选择最具判别性的特征,也就是如果wi=0,则表示对应的第i个特征对其它特征贡献不大,可以将其稀疏化掉,而具有重要意义的特征则加大权重,为此施加行稀疏正则化此外,为了防止网络出现过学习现象,还施加正则化项因此整个正则化损失可以定义为:In addition, for the weight parameter Θ = {W 1 ,W 2 ,…,W layer }, this embodiment expects to select the most discriminative feature through the weight parameter, that is, if w i = 0, it means that the corresponding i-th feature does not contribute much to other features, so it can be sparse, and the features with important significance are weighted. For this purpose, row sparse regularization is applied. In addition, in order to prevent the network from over-learning, a regularization term is also applied Therefore, the entire regularization loss can be defined as:
融合公式(5)、(8)和(9)即可得到我们最终的损失函数:Combining formulas (5), (8) and (9) we can get our final loss function:
其中γ,λ>0分别为语义结构矫正部分和正则化项部分的超参。Among them, γ, λ>0 are the hyperparameters of the semantic structure correction part and the regularization part respectively.
实验验证部分Experimental verification part
为了验证所提出的基于语义结构图自编码器的有效性,采用公开的ECG数据集进行验证。实验验证分为两个任务:利用提取的潜在信号进行聚类分析和利用潜在信号进行识别任务。使用k-means算法进行聚类实验和最近邻分类器进行分类实验,以评估不同自编码器特征选择方法的性能。In order to verify the effectiveness of the proposed semantic structure graph-based autoencoder, a public ECG dataset was used for verification. The experimental verification is divided into two tasks: clustering analysis using the extracted latent signal and recognition task using the latent signal. The k-means algorithm is used for clustering experiments and the nearest neighbor classifier is used for classification experiments to evaluate the performance of different autoencoder feature selection methods.
数据集:2017PhysioNet/CinC挑战赛ECG数据集由8528个持续时间从30秒到60秒的心电图片段组成。该数据集分为四组:正常窦心律(N),心房颤动(A),其他心律(O),噪声心电(~)。Dataset: The 2017 PhysioNet/CinC Challenge ECG dataset consists of 8528 ECG segments with durations ranging from 30 seconds to 60 seconds. The dataset is divided into four groups: normal sinus rhythm (N), atrial fibrillation (A), other rhythms (O), and noisy ECG (~).
为了验证自编码器提取ECG信号的判别能力,从3000个样本中随机选取500个样本,对原始的信号和编码信号进行了可视化比对,结果如图4所示。图4的结果显示通过在潜在信号输出层添加语义结构图引导学习,可以使得信号的编码过程融入相邻节点、所连接的边和全局信息的信息,对该层特征调制,进而能够抓取到感兴趣的属性的信息,使得最终提取的编码信息更加有利于后续的识别和聚类任务。In order to verify the discriminative ability of the autoencoder to extract ECG signals, 500 samples were randomly selected from 3000 samples, and the original signal and the encoded signal were visually compared, and the results are shown in Figure 4. The results in Figure 4 show that by adding a semantic structure graph to the potential signal output layer to guide learning, the signal encoding process can incorporate information about adjacent nodes, connected edges, and global information, modulate the features of this layer, and then capture the information of the attributes of interest, making the final extracted encoding information more conducive to subsequent recognition and clustering tasks.
为了简化训练时间,随机选取3000个采样信号进行验证。实验过程中,将比对原始信号和利用自编码器编码的数据信号的聚类以及识别结果,使用准确率(ACC)来衡量性能。聚类ACC定义为:In order to simplify the training time, 3000 sampled signals are randomly selected for verification. During the experiment, the clustering and recognition results of the original signal and the data signal encoded by the autoencoder are compared, and the accuracy rate (ACC) is used to measure the performance. The clustering ACC is defined as:
其中,pi表示真标签,qi为原始信号xi的聚类标签结果,map(qi)利用Kuhn-Munkres算法对聚类标签进行排序,使之与真值标签匹配的最佳映射函数。Where p i represents the true label, q i is the cluster label result of the original signal xi , and map(q i ) uses the Kuhn-Munkres algorithm to sort the cluster labels to obtain the best mapping function that matches the true value label.
聚类和分类结果如表1所示。结果表明,提出的语义结构自编码器执行的特征工程,不仅可以有效地降低特征维数,而且可以有效地提高聚类和分类的性能。这得益于语义结构自编码器通过保持原始信号的结构信息和语义信息,可以有效地捕获更具判别能力的特征。可以看出所提出的自编码器使用所有具有不同权重的特征非线性地表示每个特征。同时通过最小化重构误差和语义结构图正则化,得到一个保留原始数据固有结构信息和语义信心的观测特征子集。The clustering and classification results are shown in Table 1. The results show that the feature engineering performed by the proposed semantic structure autoencoder can not only effectively reduce the feature dimension, but also effectively improve the performance of clustering and classification. This is due to the fact that the semantic structure autoencoder can effectively capture more discriminative features by maintaining the structural information and semantic information of the original signal. It can be seen that the proposed autoencoder uses all features with different weights to nonlinearly represent each feature. At the same time, by minimizing the reconstruction error and regularizing the semantic structure graph, a subset of observed features that retains the inherent structural information and semantic confidence of the original data is obtained.
表1实验结构比对Table 1 Experimental structure comparison
实施例二Embodiment 2
本实施例提供了一种语义结构图引导的ECG自编码系统,包括:This embodiment provides an ECG self-encoding system guided by a semantic structure graph, including:
信号获取模块,被配置为获取原始心电图ECG信号;A signal acquisition module is configured to acquire an original electrocardiogram (ECG) signal;
语义结构图构建模块,被配置为利用原始心电图ECG信号构建固有的相似结构矩阵,利用原始心电图ECG信号对应的标签信息构建语义相似图;A semantic structure graph construction module is configured to construct an inherent similarity structure matrix using the original electrocardiogram ECG signal, and to construct a semantic similarity graph using label information corresponding to the original electrocardiogram ECG signal;
融合固有的相似结构矩阵和语义相似图,构建语义结构图;The inherent similarity structure matrix and semantic similarity graph are integrated to construct the semantic structure graph;
信号自编码模块,被配置为基于语义结构图,利用预先训练好的自动编码器进行编码,得到编码后的ECG信号;A signal autoencoding module is configured to encode based on the semantic structure graph using a pre-trained autoencoder to obtain an encoded ECG signal;
其中,所述自动编码器训练的损失函数在原始损失函数的基础上引入语义结构图与抑制参数矩阵以监督隐空间特征的学习,保留ECG信号的关键信息。Among them, the loss function of the automatic encoder training introduces a semantic structure graph and an inhibition parameter matrix on the basis of the original loss function to supervise the learning of latent space features and retain the key information of the ECG signal.
上述模块与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例一所公开的内容。需要说明的是,上述模块作为系统的一部分可以在诸如一组计算机可执行指令的计算机系统中执行。The examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiment 1. It should be noted that the above modules as part of the system can be executed in a computer system such as a set of computer executable instructions.
上述实施例中对各个实施例的描述各有侧重,某个实施例中没有详述的部分可以参见其他实施例的相关描述。The description of each embodiment in the above embodiments has different emphases. For parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
所提出的系统,可以通过其他的方式实现。例如以上所描述的系统实施例仅仅是示意性的,例如上述模块的划分,仅仅为一种逻辑功能划分,实际实现时,可以有另外的划分方式,例如多个模块可以结合或者可以集成到另外一个系统,或一些特征可以忽略,或不执行。The proposed system can be implemented in other ways. For example, the system embodiment described above is only illustrative, and the division of the modules is only a logical function division. In actual implementation, there may be other division methods, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.
实施例三Embodiment 3
本实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述实施例一所述的一种语义结构图引导的ECG自编码方法中的步骤。This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the ECG self-encoding method guided by a semantic structure graph as described in the first embodiment above are implemented.
实施例四Embodiment 4
本实施例提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述实施例一所述的一种语义结构图引导的ECG自编码方法中的步骤。This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the ECG self-encoding method guided by a semantic structure graph as described in the first embodiment above are implemented.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to the flowchart and/or block diagram of the method, device (system), and computer program product according to the embodiment of the present invention. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the process and/or box in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410306801.4A CN118152914B (en) | 2024-03-18 | 2024-03-18 | Semantic structure diagram guided ECG self-coding method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410306801.4A CN118152914B (en) | 2024-03-18 | 2024-03-18 | Semantic structure diagram guided ECG self-coding method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118152914A CN118152914A (en) | 2024-06-07 |
CN118152914B true CN118152914B (en) | 2024-11-01 |
Family
ID=91291511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410306801.4A Active CN118152914B (en) | 2024-03-18 | 2024-03-18 | Semantic structure diagram guided ECG self-coding method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118152914B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109977250A (en) * | 2019-03-20 | 2019-07-05 | 重庆大学 | Merge the depth hashing image search method of semantic information and multistage similitude |
CN112464290A (en) * | 2020-12-17 | 2021-03-09 | 浙江工业大学 | Vertical federal learning defense method based on self-encoder |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112639998A (en) * | 2018-07-05 | 2021-04-09 | 加利福尼亚大学董事会 | Computational simulation of anatomical structures and body surface electrode positioning |
US20210378597A1 (en) * | 2020-06-04 | 2021-12-09 | Biosense Webster (Israel) Ltd. | Reducing noise of intracardiac electrocardiograms using an autoencoder and utilizing and refining intracardiac and body surface electrocardiograms using deep learning training loss functions |
CN112686056B (en) * | 2021-03-22 | 2021-07-06 | 华南师范大学 | Emotion classification method |
CN113221736B (en) * | 2021-05-11 | 2023-05-23 | 菏泽学院 | Electrocardiogram identity recognition method and system based on multi-feature collaborative non-negative matrix factorization |
CN115935256A (en) * | 2022-12-08 | 2023-04-07 | 南京审计大学 | Semantic guidance-based semi-supervised node classification method of multilayer structure |
CN116636858A (en) * | 2023-05-30 | 2023-08-25 | 山东管理学院 | ECG sensing signal coding method and system |
CN116864140A (en) * | 2023-09-05 | 2023-10-10 | 天津市胸科医院 | Intracardiac branch of academic or vocational study postoperative care monitoring data processing method and system thereof |
-
2024
- 2024-03-18 CN CN202410306801.4A patent/CN118152914B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109977250A (en) * | 2019-03-20 | 2019-07-05 | 重庆大学 | Merge the depth hashing image search method of semantic information and multistage similitude |
CN112464290A (en) * | 2020-12-17 | 2021-03-09 | 浙江工业大学 | Vertical federal learning defense method based on self-encoder |
Also Published As
Publication number | Publication date |
---|---|
CN118152914A (en) | 2024-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Guo et al. | Inter-patient ECG classification with convolutional and recurrent neural networks | |
Musa et al. | A systematic review and Meta-data analysis on the applications of Deep Learning in Electrocardiogram | |
Hanbay | Deep neural network based approach for ECG classification using hybrid differential features and active learning | |
Gavrishchaka et al. | Advantages of hybrid deep learning frameworks in applications with limited data | |
CN110119775A (en) | Medical data processing method, device, system, equipment and storage medium | |
Hong et al. | Cardioid: learning to identification from electrocardiogram data | |
CN111317464A (en) | Electrocardiogram analysis method and device | |
CN112603330A (en) | Electrocardiosignal identification and classification method | |
Zhang et al. | Interpretable detection and location of myocardial infarction based on ventricular fusion rule features | |
Lu et al. | Identification of arrhythmia by using a decision tree and gated network fusion model | |
Wu et al. | A deep neural network ensemble classifier with focal loss for automatic arrhythmia classification | |
Xu et al. | Multilayer extreme learning machine-based unsupervised deep feature representation for heartbeat classification | |
Houssein et al. | Integration of machine learning and optimization techniques for cardiac health recognition | |
Sakib et al. | Anomaly detection of ECG time series signal using auto encoders neural network | |
Zhou et al. | Deep learning-based classification of massive electrocardiography data | |
CN118152914B (en) | Semantic structure diagram guided ECG self-coding method and system | |
Jin et al. | Time-series contrastive learning against false negatives and class imbalance | |
Zaorálek et al. | Patient-adapted and inter-patient ECG classification using neural network and gradient boosting | |
CN117668466A (en) | Multi-lead ECG data processing method, device and medium based on graph comparison learning | |
Saxena et al. | Adaptive multi-hop deep learning based drug recommendation system with selective coverage mechanism | |
CN110786847B (en) | Electrocardiogram signal library building method and analysis method | |
Wang et al. | Deep sparse autoencoder integrated with three‐stage framework for glaucoma diagnosis | |
CN117547283A (en) | Electrocardiosignal data classification method, device, computer equipment and medium | |
Srinivas et al. | Cardiacnet: Cardiac arrhythmia detection and classification using unsupervised learning based optimal feature selection with custom cnn model | |
Dambal et al. | Premature Ventricular Contraction Classification Based on Spiral Search-Manta Ray Foraging and Bi-LSTM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |