[go: up one dir, main page]

CN108714026B - Fine-grained electrocardiosignal classification method based on deep convolutional neural network and online decision fusion - Google Patents

Fine-grained electrocardiosignal classification method based on deep convolutional neural network and online decision fusion Download PDF

Info

Publication number
CN108714026B
CN108714026B CN201810255649.6A CN201810255649A CN108714026B CN 108714026 B CN108714026 B CN 108714026B CN 201810255649 A CN201810255649 A CN 201810255649A CN 108714026 B CN108714026 B CN 108714026B
Authority
CN
China
Prior art keywords
sample
neural network
model
signal
electrocardiogram
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.)
Expired - Fee Related
Application number
CN201810255649.6A
Other languages
Chinese (zh)
Other versions
CN108714026A (en
Inventor
张敬
田婧
徐晓滨
文成林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Dianzi University
Original Assignee
Hangzhou Dianzi University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN201810255649.6A priority Critical patent/CN108714026B/en
Publication of CN108714026A publication Critical patent/CN108714026A/en
Application granted granted Critical
Publication of CN108714026B publication Critical patent/CN108714026B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7253Details of waveform analysis characterised by using transforms
    • A61B5/7257Details of waveform analysis characterised by using transforms using Fourier transforms
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7264Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/46Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
    • G06V10/462Salient features, e.g. scale invariant feature transforms [SIFT]

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Molecular Biology (AREA)
  • Biomedical Technology (AREA)
  • Evolutionary Computation (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Biophysics (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Veterinary Medicine (AREA)
  • Public Health (AREA)
  • Surgery (AREA)
  • Medical Informatics (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Pathology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Psychiatry (AREA)
  • Signal Processing (AREA)
  • Physiology (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Multimedia (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Fuzzy Systems (AREA)
  • Cardiology (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

本发明公开了一种基于深度卷积神经网络(DCNN)和在线决策融合的心电分类方法。与以前使用手工特征或从原始信号域学习特征的方法不同,所提出的基于DCNN的方法以端到端的方式从时频域学习特征和分类。本发明首先利用短时傅立叶变换将心电波形信号转化为时频域。接下来,由特定长度的训练样本训练具体的DCNN网络模型。最后,提出一种在线决策融合方法,将来自不同模型的过去和现在的决策融合成更准确的决策。综合20类ECG数据集的实验结果说明了所提出方法的有效性。

Figure 201810255649

The invention discloses an electrocardiogram classification method based on deep convolutional neural network (DCNN) and online decision fusion. Unlike previous methods that use handcrafted features or learn features from the raw signal domain, the proposed DCNN-based method learns features and classification from the time-frequency domain in an end-to-end manner. The present invention first utilizes short-time Fourier transform to convert the ECG waveform signal into time-frequency domain. Next, a specific DCNN network model is trained by training samples of a specific length. Finally, an online decision fusion method is proposed to fuse past and present decisions from different models into more accurate decisions. Experimental results on a comprehensive 20-category ECG dataset demonstrate the effectiveness of the proposed method.

Figure 201810255649

Description

Fine-grained electrocardiosignal classification method based on deep convolutional neural network and online decision fusion
Technical Field
The invention belongs to the field of signal classification, and particularly relates to a fine-grained electrocardiosignal classification method based on a deep convolutional neural network and on-line decision fusion.
Background
Electrocardiograms (ECGs), which record the depolarization repolarization process of the electrical activity of the heart during the cardiac cycle, are widely used to monitor or diagnose the condition of the heart in patients. Patients are often required to go to a hospital and be diagnosed by a trained, experienced cardiologist, which is expensive and inconvenient. Therefore, automated monitoring and diagnostic systems are highly desirable in clinics, community medical centers, and home healthcare programs. Although great progress has been made in the past decades in the filtering, detection and classification of electrocardiosignals, effective and accurate classification of electrocardiosignals remains a challenging problem due to noise and the type of symptoms that vary from patient to patient.
Prior to classification, filtering is typically required to remove various noises from the ECG signal, including power line disturbances, baseline wander, muscle contraction noise, etc. Conventional approaches such as low pass filters and filter banks can reduce noise but can also cause some artifacts. Combining signal modeling and filtering together can alleviate this problem, but it is limited to a single type of noise. In recent years, different noise cancellation methods based on wavelet transform have been proposed, which shows great advantages in multi-resolution signal analysis. For example, s.poungponsri and x.h.yu propose an adaptive filtering method based on wavelet transform and artificial neural network, which can effectively remove different types of noise.
For ECG classification, the classical approach typically includes two parts: feature extraction and classifier training. Feature extraction is usually performed in the time domain or frequency domain, and includes amplitude, interval, higher order statistics, and the like. Common methods are: filter bank, kalman filter, principal component analysis, frequency analysis, wavelet transform and statistical methods. The classification method generally includes: support vector machines, artificial neural networks, hidden markov models, and hybrid expert methods. Among them, a large number of methods are based on the strong modeling capability of the artificial neural network. For example, m.engin proposes an electrocardiographic signal classification method based on a fuzzy neural network, which is characterized by autoregressive model coefficients, high-order cumulants and wavelet transform variances. L.y.shyu et al propose a new method for detecting ventricular premature beats (VPCs) using wavelet transformation and fuzzy neural networks, which has a reduced computational complexity due to the use of the same wavelets for QRS detection and VPC classification. I.gurer and e.d.ubeyli suggest ECG signal classification using a combined neural network model. And extracting the statistical characteristics based on the discrete wavelet transform as the input of the primary network. The network is then trained using the output of the previous stage network as input. Inc, presents a new approach that uses a robust and versatile artificial neural network architecture and trains a patient-specific model with morphological wavelet transform features and temporal features for each patient.
Although the above methods work well, there are some common drawbacks:
1) artificial features rely on expert knowledge or experience and require careful design and testing. Moreover, the classifier needs to have appropriate modeling capability for the feature.
2) The types of ECG signals are typically limited or coarse grained, e.g., 2-5. On the one hand, for a new type of electrocardiographic waveform, one should first examine existing distinctive features and redesign new features. On the other hand, they still present problems in fine-grained classification, as it requires more discriminative features and classifiers with better modeling capabilities.
Disclosure of Invention
Aiming at the defects of the prior art, the invention designs a fine-grained electrocardiosignal classification method based on deep convolutional neural network and on-line decision fusion. The present invention converts the raw ECG signal to the time-frequency domain by a short-time fourier transform (STFT). Then, the time-frequency characteristics of the signal are learned by the CNN of the two-dimensional convolution. Finally, an online decision fusion method is proposed to fuse past and current decisions of different models into a more accurate result.
The invention comprises the following steps:
acquiring and processing an electrocardiosignal waveform:
step (1-1) acquisition of a data set: an SKX-2000ECG signal simulator is used for ECG waveform generation. The simulator can simulate electrocardiographic waveforms that produce different symptoms of various amplitudes and frequencies, including but not limited to normal, coarse atrial fibrillation, fine atrial fibrillation, atrial flutter and more than 20 electrocardiographic waveforms. The 20 types of ECG waveform signals are acquired by acquiring a certain amount of waveform signals corresponding to the types of ECG waveform signals under different parameters. The mathematical representation is:
X={(xi(t),yi)|i∈Λ}(1)
wherein x isi(t) is the ith sample, yiE { 0., C-1} represents the cardiac signal xi(t) a class label, which shares a class C electrocardiosignal, and Λ is an index set of samples. x is the number ofi(t)=[xi(0),xi(1),...,xi(N-1)]TIs a time-sequential representation of the ith signal having a number N of sample points.
Step (1-2) short-time Fourier transform: firstly, converting the original electrocardiosignals into a time-frequency domain through short-time Fourier transform to obtain an electrocardio-spectrogram of the electrocardiosignals. The mathematical representation process is as follows:
Figure BDA0001608874880000031
wherein w (-) is a window function, the window of the invention adopts a Hamming window, the size is 256 sampling points, and the size of the overlapping area is 128 sampling points. S, si(k, m) is xiThe electrocardiogram having a 2-dimensional structure.
Step (2) design of network structure: considering the use of 2-dimensional spectrograms as network inputs, a deep convolutional neural network structure including 2-dimensional convolution was designed, the designed network structure including 3 convolutional layers, 2 fully-connected layers, and 1 max pooling layer. The concrete structure is as follows:
Figure BDA0001608874880000032
taking the electrocardiogram as input, and predicting a probability vector p for the deep neural network structure for the classification problemi=h(sih)∈RcAnd Pi||1=1,θhRepresenting a parameter to be learned of the network, which can be trained by minimizing a cross entropy loss function, represented as follows:
Figure BDA0001608874880000033
wherein q isiIs corresponding to the category label yiThe one-hot vector of (c).
In effect, the width of the electrocardiogram is related to the length of the electrocardiographic waveform signal for a given window function. Given a sampling rate, longer signals contain more beats. Generally, the detected and classified signals are single beat signals, but the more beats contain more information, the higher the accuracy of detection and classification. In the invention, after the sequence length and the sampling rate are determined, each sample is divided into a plurality of subsamples, and the length of each subsample is the same. The designed deep neural network model is then trained from the data set. In addition, in order to compare the performance of the model when testing longer samples, the samples are divided into sub-samples with different lengths, and corresponding deep neural network models are trained by using the sub-samples, and the models designed according to the different lengths of the samples are respectively expressed as h1-h6 according to the sizes of the sub-samples from small to large. Although training samples of different lengths will correspond to different widths of the spectrogram, the same architecture is used for all of the above models, as long as the pooling step size along the column is changed accordingly, while keeping the fully connected layer fixed.
And (3) an online decision fusion algorithm: for in-line testing, the above model can be used to sequentially test signals at different times as the length of the signal increases. When the sample length is short, the decision result is often based on this sample length; when the sample length is longer, the decision result will be determined by the whole signal. These models can be viewed as different experts, focusing on different amounts of information. The decisions of different experts may be complementary and may possibly be fused to a more accurate decision. Therefore, an online fusion mode is proposed, which is specifically expressed as:
Figure BDA0001608874880000041
wherein
Figure BDA0001608874880000042
Is the result of fusion, slE {1,2,3,4,5,6} is the order that corresponds to the longest length in the subsamples into which a signal of a particular length x can be divided; x is the number ofskIs when the model is hsThe k-th part, k, of the sample xsIs that the length is sample x corresponding to hsThe number of hour samples. For example, the total length of the samples at the current time is 2048, so sl=3,k1=4,k2=2,k3=1。ωsIs hsFusion weights of the models, and
Figure BDA0001608874880000043
as can be seen from equation 4, the weights of the fused results for each part in the same subsample are equal and averaged. This result is reasonable because each part uses the same model, with no priority. When the subsamples are of different lengths, a weight is given to each model and their effects are compared in the final fused result.
To verify the effectiveness of the algorithm presented herein, an SKX-2000ECG signal simulator was used for ECG waveform generation. The simulator can simulate electrocardiographic waveforms that produce different symptoms of various amplitudes and frequencies, including but not limited to normal, coarse atrial fibrillation, fine atrial fibrillation, atrial flutter and more than 20 electrocardiographic waveforms. 19 types of symptom electrocardiographic waveforms and normal electrocardiographic waveforms are selected to carry out simulation experiments.
For the above 20 types of ECG waveform signals, a certain amount of waveform signals corresponding to the different parameters of the type are respectively collected. Then, after removing the shorter and unwanted signals, a total of 2426 samples were collected, averaging about 120 samples per class, each sample containing 16384 points at the longest, and in the following experiments, 3-fold cross-validation was used to evaluate the proposed method.
In the short-time Fourier transform, a Hamming window is adopted as a window, the size of the Hamming window is 256 sampling points, and the size of an overlapping area is 128 sampling points. And then training the designed network structure by using the obtained electrocardiogram. When the CNN model is trained, 20000 iterations are provided, the batch size of each iteration is 128, the basic learning rate is 0.01, the basic learning rate is reduced to 0.5 times every 5000 times, and the momentum and decay parameters are respectively set to 0.9 and 5 multiplied by 10-6. And then fusing the results of different models by adopting the fusion method.
The above methods were all performed in caffe, and all experiments were performed on a workstation of Nvidia GeForce GTX Titan X (Maxwell) GPU.
The invention has the beneficial effects that: by computing a short-time fourier transform of the original signal, one can learn from the time-frequency domain to a distinctive representation of the features. An online decision fusion method is proposed to fuse past and present decisions from different models into a more accurate decision. Experimental results on the synthesized 20-class ECG data sets demonstrate the effectiveness and efficiency of the proposed method. Furthermore, the proposed method is computationally efficient and hopefully integrated in a portable ECG monitoring instrument with limited computational resources.
Drawings
FIG. 1 is a flow chart of an algorithmic implementation of the method.
Fig. 2 is a waveform diagram of an electrocardiographic signal.
Figure 3 is an electrocardiogram corresponding to figure 2.
FIG. 4 shows the fusion results and each slCorresponding single model results.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
As shown in fig. 1, the present invention provides a fine-grained electrocardiographic signal classification based on a deep convolutional neural network and on-line decision fusion, which includes the following steps:
acquiring and processing an electrocardiosignal waveform:
step (1-1) acquisition of a data set: an SKX-2000ECG signal simulator is used for ECG waveform generation. The simulator can simulate electrocardiographic waveforms that produce different symptoms of various amplitudes and frequencies, including but not limited to normal, coarse atrial fibrillation, fine atrial fibrillation, atrial flutter and more than 20 electrocardiographic waveforms. The 20 types of ECG waveform signals are acquired by acquiring a certain amount of waveform signals corresponding to the types of ECG waveform signals under different parameters. The mathematical representation is:
X={(xi(t),yi)|i∈Λ} (1)
wherein x isi(t) is the ith sample, yiE { 0., C-1} represents the cardiac signal xi(t) a class label, which shares a class C electrocardiosignal, and Λ is an index set of samples. x is the number ofi(t)=[xi(0),xi(1),...,xi(N-1)]TThe number of sampling points being NTime-sequential representation of the ith signal. Specifically, the electrocardiographic signal waveform is shown in fig. 2, where the horizontal axis represents time in s and the vertical axis represents amplitude μ V.
Step (1-2) short-time Fourier transform: firstly, converting the original electrocardiosignals into a time-frequency domain through short-time Fourier transform to obtain an electrocardio-spectrogram of the electrocardiosignals. The mathematical representation process is as follows:
Figure BDA0001608874880000061
wherein w (-) is a window function, the window of the invention adopts a Hamming window, the size is 256 sampling points, and the size of the overlapping area is 128 sampling points. si(k, m) is xiThe electrocardiogram having a 2-dimensional structure. Fig. 3 shows an electrocardiograph corresponding to fig. 2, where the horizontal axis represents time and the vertical axis represents frequency. The time-frequency characteristics of the signals can be observed simultaneously.
Step (2) design of network structure: considering the use of 2-dimensional spectrograms as network inputs, a deep convolutional neural network structure including 2-dimensional convolution was designed, the designed network structure including 3 convolutional layers, 2 fully-connected layers, and 1 max pooling layer.
Network architecture designed in table 1
Figure BDA0001608874880000062
Taking the electrocardiogram as input, and predicting a probability vector p for the deep neural network structure for the classification problemi=h(sih)∈RcAnd Pi||1=1,θhRepresenting a parameter to be learned of the network, which can be trained by minimizing a cross entropy loss function, represented as follows:
Figure BDA0001608874880000063
wherein q isiIs corresponding to the category label yiThe one-hot vector of (a) is,
in effect, the width of the electrocardiogram is related to the length of the electrocardiographic waveform signal for a given window function. Given a sampling rate, longer signals contain more beats. Generally, the detected and classified signals are single beat signals, but the more beats contain more information, the higher the accuracy of detection and classification. In the invention, after the sequence length and the sampling rate are determined, each sample is divided into a plurality of subsamples, and the length of each subsample is the same. The designed deep neural network model (CNN model) is then trained from the data set. In addition, in order to compare the performance of the model when testing longer samples, the samples are divided into sub-samples with different lengths, and corresponding CNN models are trained by the sub-samples, and the models designed according to the different lengths of the samples are respectively expressed as h1-h6 according to the sizes of the sub-samples from small to large. Although training samples of different lengths will correspond to different widths of the spectrogram, the same architecture is used for all of the above models, as long as the pooling step size along the column is changed accordingly, while keeping the fully connected layer fixed.
To verify the validity of the method in learning the feature representation, it is checked by the learned features. For example, learning features of all training data are obtained by calculating responses of the second last layer, and then the first three principal component vectors are obtained by principal component analysis.
And (3) an online decision fusion algorithm: for in-line testing, the above model can be used to sequentially test signals at different times as the length of the signal increases. When the sample length is short, the decision result is often based on this sample length; when the sample length is longer, the decision result will be determined by the whole signal. These models can be viewed as different experts, focusing on different amounts of information. The decisions of different experts may be complementary and may possibly be fused to a more accurate decision. Therefore, an online fusion mode is proposed, which is specifically expressed as:
Figure BDA0001608874880000071
wherein
Figure BDA0001608874880000072
Is the result of fusion, slE {1,2,3,4,5,6} is the order that corresponds to the longest length in the subsamples into which a signal of a particular length x can be divided; x is the number ofskIs when the model is hsThe k-th part, k, of the sample xsIs the sample x corresponds to hsThe number of hour samples. For example, the total length of the samples at the current time is 2048, so sl=3,k1=4,k2=2,k3=1。ωsIs hsFusion weights of the models, and
Figure BDA0001608874880000073
as can be seen from equation 4, the weights of the fused results for each part in the same subsample are equal and averaged. This result is reasonable because each part uses the same model, with no priority. When the subsamples are of different lengths, a weight is given to each model and their effects are compared in the final fused result.
Two fusion weight definitions are considered: the mean weight and weight increase with higher model level (i.e., longer subsample length). The fusion weight in the latter case is calculated according to the following equation
Figure BDA0001608874880000074
FIG. 4 shows the fusion results and each slCorresponding single model results. First, it can be seen that model h4 achieves the best performance among all the different levels of models, perhaps because it balances the decision on data length and number of models. Compared to model h1, the input data is 16 times longer. Compared with model h6, model h6 can make only a single decision on the entire sequence, whereas model h4 can make 4 decisions on four different subsequences, which can be merged into oneA more accurate subsequence. It can then be seen that the fused results are consistently better than the single model results, and performance continues to improve as the data length grows. The method proves that the decision of fusing different models can obtain a more robust and more accurate decision, because the models contain different ranges of original data when sample training is carried out. Furthermore, the use of non-uniform weights does not have any advantage over the use of uniform weights. And (4) assuming that the uneven weight strategy is biased to the model with the maximum data volume, and ignoring the decision of the model with the smaller data volume. Although it is superior to the single model case, the boost is very limited, especially at higher levels, where performance depends heavily on the high level model.
To verify the validity of the algorithm proposed by the present invention, an SKX-2000ECG signal simulator was used for ECG waveform generation. The simulator can simulate electrocardiographic waveforms that produce different symptoms of various amplitudes and frequencies, including but not limited to normal, coarse atrial fibrillation, fine atrial fibrillation, atrial flutter and more than 20 electrocardiographic waveforms. 19 types of symptom electrocardiographic waveforms and normal electrocardiographic waveforms are selected to carry out simulation experiments.
For the above 20 types of ECG waveform signals, a certain amount of waveform signals corresponding to the different parameters of the type are respectively collected. Then, after removing the shorter and unwanted signals, a total of 2426 samples were collected, averaging about 120 samples per class, each sample containing 16384 points at the longest, and in the following experiments, 3-fold cross-validation was used to evaluate the proposed method.
In the short-time Fourier transform, a Hamming window is adopted as a window, the size of the Hamming window is 256 sampling points, and the size of an overlapping area is 128 sampling points. And then training the designed network structure by using the obtained electrocardiogram. When the CNN model is trained, 20000 iterations are provided, the batch size of each iteration is 128, the basic learning rate is 0.01, the basic learning rate is reduced to 0.5 times every 5000 times, and the momentum and decay parameters are respectively set to 0.9 and 5 multiplied by 10-6. And then fusing the results of different models by adopting the fusion method.
The above methods were all performed in caffe, and all experiments were performed on a workstation of Nvidia GeForce GTX Titan X (Maxwell) GPU.
The simulation results are as follows: the test results of the proposed method and other models are shown in table 2, and the run times of the proposed method models at different levels are shown in table 3.
TABLE 2 test results of different models
Figure BDA0001608874880000081
Figure BDA0001608874880000091
TABLE 3 run time of different level models
Figure BDA0001608874880000092

Claims (1)

1.基于深度卷积神经网络和在线决策融合的细粒度心电信号分类方法,其特征在于该方法的具体步骤如下:1. the fine-grained electrocardiographic signal classification method based on deep convolutional neural network and online decision fusion, it is characterized in that the concrete steps of this method are as follows: 步骤(1)心电信号波形的采集与处理:Step (1) Collection and processing of ECG signal waveform: 步骤(1-1)数据集的获取:采用SKX-2000ECG信号模拟器进行ECG波形生成;心电信号的数学表示为:Step (1-1) Acquisition of data set: use SKX-2000ECG signal simulator to generate ECG waveform; the mathematical expression of ECG signal is: X={(xi(t),yi)|i∈Λ}X={(x i (t),y i )|i∈Λ} 其中,xi(t)是第i个样本,yi∈{0,..,C-1}表示心电信号xi(t)的类别标签,一共有C类心电信号,Λ是样本的索引集合;xi(t)=[xi(0),xi(1),...,xi(N-1)]T是采样点个数为N的第i种信号的时序表示;Among them, x i (t) is the ith sample, y i ∈{0,..,C-1} represents the category label of the ECG signal x i (t), there are C-type ECG signals, and Λ is the sample The index set of ; x i (t)=[x i (0),x i (1),..., xi (N-1)] T is the time sequence of the i-th signal with N sampling points express; 步骤(1-2)短时傅里叶变换:通过短时傅里叶变换将原始心电信号转换到时频域,获得心电信号的心电谱图;数学表示过程如下:Step (1-2) Short-time Fourier transform: Convert the original ECG signal to the time-frequency domain through short-time Fourier transform to obtain the electrocardiogram of the ECG signal; the mathematical representation process is as follows:
Figure FDA0003053452760000011
Figure FDA0003053452760000011
其中w(·)为窗函数,窗口采用汉明窗,大小为256个采样点,重叠区域大小为128个采样点;si(k,m)是xi(t)的心电谱图,该心电谱图具有2维结构;where w( ) is the window function, the window adopts the Hamming window, the size is 256 sampling points, and the size of the overlapping area is 128 sampling points; s i (k, m) is the electrocardiogram of xi (t), The electrocardiogram has a 2-dimensional structure; 步骤(2)网络结构的设计:鉴于使用2维心电谱图作为网络输入,设计一个包含2维卷积的深度卷积神经网络结构,所设计的网络结构包括3个卷积层,2个全连接层,1个最大池化层;Step (2) Design of network structure: In view of the use of 2-dimensional electrocardiogram as network input, a deep convolutional neural network structure containing 2-dimensional convolution is designed. The designed network structure includes 3 convolutional layers, 2 Fully connected layer, 1 max pooling layer; 将心电谱图作为输入,对于分类问题,深度神经网络结构预测了一个概率向量,pi=h(sih)∈Rc
Figure FDA0003053452760000012
θh表示网络的待学习参数,通过最小化交叉熵损失函数的方法训练此参数,表示如下:
Taking the electrocardiogram as input, for the classification problem, the deep neural network structure predicts a probability vector, pi = h(s i , θ h )∈R c and
Figure FDA0003053452760000012
θ h represents the parameter to be learned of the network, which is trained by minimizing the cross entropy loss function, which is expressed as follows:
Figure FDA0003053452760000013
Figure FDA0003053452760000013
其中,qi是对应于类别标签yi的one-hot向量;where qi is the one-hot vector corresponding to the class label yi ; 在确定序列长度、采样率后,将每个样本分成多个子样本,每个子样本长度相同;接着,根据数据集训练所设计的深度神经网络模型;此外,为了比较测试样本长度不同时模型的性能,同时将样本分成长度不同的子样本,并用它们训练相应的深度神经网络模型,分别将这些根据样本长度不同所设计的模型按照子样本长度从小到大的方式表示为h1-h6;After determining the sequence length and sampling rate, each sample is divided into multiple sub-samples, and each sub-sample has the same length; then, the designed deep neural network model is trained according to the data set; in addition, in order to compare the performance of the model when the test sample length is different , at the same time, the samples are divided into subsamples of different lengths, and the corresponding deep neural network models are trained with them. 步骤(3)在线决策融合算法,具体表示为:Step (3) online decision fusion algorithm, specifically expressed as:
Figure FDA0003053452760000021
Figure FDA0003053452760000021
其中
Figure FDA0003053452760000022
是融合结果,sl∈{1,2,3,4,5,6}是对应设定长度的样本x能被分割的子样本中长度最长时对应的模型序号;xsk是在模型为hs时,样本x的第k部分,ks是样本x对应于hs时子样本的个数;ωs是hs模型的融合权重,且
Figure FDA0003053452760000023
in
Figure FDA0003053452760000022
is the fusion result, s l ∈ {1, 2, 3, 4, 5, 6} is the model number corresponding to the longest length of the subsamples in which the sample x of the set length can be divided; x sk is the model number when the model is When h s , the kth part of the sample x, k s is the number of subsamples when the sample x corresponds to h s ; ω s is the fusion weight of the h s model, and
Figure FDA0003053452760000023
CN201810255649.6A 2018-03-27 2018-03-27 Fine-grained electrocardiosignal classification method based on deep convolutional neural network and online decision fusion Expired - Fee Related CN108714026B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810255649.6A CN108714026B (en) 2018-03-27 2018-03-27 Fine-grained electrocardiosignal classification method based on deep convolutional neural network and online decision fusion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810255649.6A CN108714026B (en) 2018-03-27 2018-03-27 Fine-grained electrocardiosignal classification method based on deep convolutional neural network and online decision fusion

Publications (2)

Publication Number Publication Date
CN108714026A CN108714026A (en) 2018-10-30
CN108714026B true CN108714026B (en) 2021-09-03

Family

ID=63898874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810255649.6A Expired - Fee Related CN108714026B (en) 2018-03-27 2018-03-27 Fine-grained electrocardiosignal classification method based on deep convolutional neural network and online decision fusion

Country Status (1)

Country Link
CN (1) CN108714026B (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109745033A (en) * 2018-12-25 2019-05-14 东南大学 A dynamic ECG quality assessment method based on time-frequency two-dimensional images and machine learning
CN109793511A (en) * 2019-01-16 2019-05-24 成都蓝景信息技术有限公司 Electrocardiosignal noise detection algorithm based on depth learning technology
CN109998523A (en) * 2019-03-27 2019-07-12 苏州平稳芯跳医疗科技有限公司 It is a kind of singly to lead electrocardiosignal classification method and singly lead electrocardiosignal categorizing system
CN110269625B (en) * 2019-05-31 2022-02-11 杭州电子科技大学 Novel multi-feature fusion electrocardio authentication method and system
CN110192864B (en) * 2019-06-12 2020-09-22 北京交通大学 Cross-domain electrocardiogram biological characteristic identity recognition method
CN110507318A (en) * 2019-08-16 2019-11-29 武汉中旗生物医疗电子有限公司 A kind of electrocardiosignal QRS wave group localization method and device
CN110664395B (en) * 2019-09-29 2022-04-12 京东方科技集团股份有限公司 Image processing method, image processing device, and storage medium
CN111000551A (en) * 2019-12-05 2020-04-14 常州市第一人民医院 Heart disease risk diagnosis method based on deep convolutional neural network model
CN111160139B (en) * 2019-12-13 2023-10-24 中国科学院深圳先进技术研究院 Electrocardiosignal processing method and device and terminal equipment
CN111000553B (en) * 2019-12-30 2022-09-27 山东省计算中心(国家超级计算济南中心) An intelligent classification method of ECG data based on voting ensemble learning
CN113384277B (en) * 2020-02-26 2022-09-20 京东方科技集团股份有限公司 Electrocardiogram data classification method and classification system
CN111202512A (en) * 2020-03-05 2020-05-29 齐鲁工业大学 Electrocardiogram classification method and device based on wavelet transformation and DCNN
CN111419213A (en) * 2020-03-11 2020-07-17 哈尔滨工业大学 A deep learning-based ECG ECG signal generation method
CN111444832A (en) * 2020-03-25 2020-07-24 哈尔滨工程大学 Whale cry classification method based on convolutional neural network
CN111543977B (en) * 2020-05-09 2023-04-07 益体康(北京)科技有限公司 Multi-cascade artificial intelligence vagina discharge method based on 12-lead resting electrocardiogram
CN111901267B (en) * 2020-07-27 2021-07-02 重庆大学 Multi-antenna blind modulation identification method based on short-time Fourier transform time-frequency analysis
CN112426160A (en) * 2020-11-30 2021-03-02 贵州省人民医院 Electrocardiosignal type identification method and device
CN112545501A (en) * 2020-12-10 2021-03-26 徐岩 Blood component concentration detection method and device
CN112545526A (en) * 2020-12-10 2021-03-26 青岛大爱慈康智能医疗科技有限公司 Electrocardiosignal detection method and device
CN112750097B (en) * 2021-01-14 2022-04-05 中北大学 Multi-modal medical image fusion based on multi-CNN combination and fuzzy neural network
CN112842348B (en) * 2021-02-07 2021-09-14 山东省人工智能研究院 Automatic classification method for electrocardiosignals based on feature extraction and deep learning
CN113171103A (en) * 2021-04-20 2021-07-27 中国科学院高能物理研究所 A kind of electrocardiogram classification method and device, equipment, storage medium
CN114469127B (en) * 2022-03-28 2022-07-29 电子科技大学 An artificial intelligence processing circuit for ECG signals based on heart beat differential coding
CN114587378A (en) * 2022-04-11 2022-06-07 平安科技(深圳)有限公司 ECG classification method, device, equipment and storage medium based on deep learning
WO2024014821A1 (en) * 2022-07-14 2024-01-18 주식회사 메디컬에이아이 Method, program, and device for training neural network model based on electrocardiogram

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060100534A1 (en) * 2004-07-09 2006-05-11 Ansar, Inc. Methods for real-time autonomic nervous system monitoring using total heart rate variability, and notched windowing
CN105105743A (en) * 2015-08-21 2015-12-02 山东省计算中心(国家超级计算济南中心) Intelligent electrocardiogram diagnosis method based on deep neural network
CN105997055A (en) * 2016-07-11 2016-10-12 吉林大学 Automatic classification method, system and device of electrocardiosignal ST band
CN106951753A (en) * 2016-01-06 2017-07-14 北京三星通信技术研究有限公司 An authentication method and authentication device for an electrocardiographic signal
CN107203692A (en) * 2017-05-09 2017-09-26 哈尔滨工业大学(威海) The implementation method of atrial fibrillation detection based on depth convolutional neural networks

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040260188A1 (en) * 2003-06-17 2004-12-23 The General Hospital Corporation Automated auscultation system
US7908197B2 (en) * 2008-02-06 2011-03-15 Algorithmics Software Llc Systems and methods for compound risk factor sampling with integrated market and credit risk
CN103000172A (en) * 2011-09-09 2013-03-27 中兴通讯股份有限公司 Signal classification method and device
CN102715902A (en) * 2012-06-15 2012-10-10 天津大学 Emotion monitoring method for special people
CN106725420A (en) * 2015-11-18 2017-05-31 中国科学院苏州纳米技术与纳米仿生研究所 VPB recognition methods and VPB identifying system
CN107123019A (en) * 2017-03-28 2017-09-01 华南理工大学 A kind of VR shopping commending systems and method based on physiological data and Emotion identification
CN107168945B (en) * 2017-04-13 2020-07-14 广东工业大学 A Fine-grained Opinion Mining Method Using Bidirectional Recurrent Neural Networks Fusion Multi-feature
CN107247703A (en) * 2017-06-08 2017-10-13 天津大学 Microblog emotional analysis method based on convolutional neural networks and integrated study
CN107341506A (en) * 2017-06-12 2017-11-10 华南理工大学 A kind of Image emotional semantic classification method based on the expression of many-sided deep learning

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060100534A1 (en) * 2004-07-09 2006-05-11 Ansar, Inc. Methods for real-time autonomic nervous system monitoring using total heart rate variability, and notched windowing
CN105105743A (en) * 2015-08-21 2015-12-02 山东省计算中心(国家超级计算济南中心) Intelligent electrocardiogram diagnosis method based on deep neural network
CN106951753A (en) * 2016-01-06 2017-07-14 北京三星通信技术研究有限公司 An authentication method and authentication device for an electrocardiographic signal
CN105997055A (en) * 2016-07-11 2016-10-12 吉林大学 Automatic classification method, system and device of electrocardiosignal ST band
CN107203692A (en) * 2017-05-09 2017-09-26 哈尔滨工业大学(威海) The implementation method of atrial fibrillation detection based on depth convolutional neural networks

Also Published As

Publication number Publication date
CN108714026A (en) 2018-10-30

Similar Documents

Publication Publication Date Title
CN108714026B (en) Fine-grained electrocardiosignal classification method based on deep convolutional neural network and online decision fusion
Yang et al. Ensemble of kernel extreme learning machine based random forest classifiers for automatic heartbeat classification
CN107822622B (en) Electrocardiogram diagnosis method and system based on deep convolutional neural network
Übeyli Combining recurrent neural networks with eigenvector methods for classification of ECG beats
Cao et al. Atrial fibrillation detection using an improved multi-scale decomposition enhanced residual convolutional neural network
CN116361688B (en) A method for constructing a multimodal feature fusion model for automatic classification of ECG rhythm
CN110840402A (en) Atrial fibrillation signal identification method and system based on machine learning
CN109758145B (en) An automatic sleep staging method based on the causal relationship of EEG signals
CN109948396B (en) Heart beat classification method, heart beat classification device and electronic equipment
CN111202512A (en) Electrocardiogram classification method and device based on wavelet transformation and DCNN
JP7487965B2 (en) Prediction method of electrocardiogram heart rate multi-type based on graph convolution
CN113180685A (en) Electrocardio abnormity discrimination system and method based on morphological filtering and wavelet threshold
CN117158999B (en) A method and system for denoising EEG signals based on PPMCC and adaptive VMD
CN112932498A (en) T wave morphology classification system with strong generalization capability based on deep learning
CN110693488A (en) ECG signal processing system, method, electronic device and readable storage medium
Ji et al. An intelligent diagnostic method of ECG signal based on Markov transition field and a ResNet
Xiao et al. A new approach based on a 1D+ 2D convolutional neural network and evolving fuzzy system for the diagnosis of cardiovascular disease from heart sound signals
Majhi et al. Explainable AI-driven machine learning for heart disease detection using ECG signal
CN119564229B (en) Electroencephalogram (EEG) denoising method, device, and medium based on neural network architecture search
CN115718867A (en) Shappelet-based classification method for converting electrocardiosignals into image structures
Shukri et al. Investigation on Elman neural network for detection of cardiomyopathy
Murthy et al. Design and implementation of hybrid techniques and DA-based reconfigurable FIR filter design for noise removal in EEG signals on FPGA
Ouni et al. Light weight residual convolutional neural network for atrial fibrillation detection in single-lead ECG recordings
Khandait et al. ECG signal processing using classifier to analyses cardiovascular disease
Moein et al. Intelligent ECG signal noise removal using PSONN

Legal Events

Date Code Title Description
PB01 Publication
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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210903