CN104523266A - Automatic classification method for electrocardiogram signals - Google Patents
Automatic classification method for electrocardiogram signals Download PDFInfo
- Publication number
- CN104523266A CN104523266A CN201510005290.3A CN201510005290A CN104523266A CN 104523266 A CN104523266 A CN 104523266A CN 201510005290 A CN201510005290 A CN 201510005290A CN 104523266 A CN104523266 A CN 104523266A
- Authority
- CN
- China
- Prior art keywords
- data
- hidden layer
- deep learning
- learning network
- network
- 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.)
- Granted
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/24—Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
- A61B5/316—Modalities, i.e. specific diagnostic methods
- A61B5/318—Heart-related electrical modalities, e.g. electrocardiography [ECG]
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/24—Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
- A61B5/316—Modalities, i.e. specific diagnostic methods
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/24—Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
- A61B5/316—Modalities, i.e. specific diagnostic methods
- A61B5/318—Heart-related electrical modalities, e.g. electrocardiography [ECG]
- A61B5/346—Analysis of electrocardiograms
- A61B5/349—Detecting specific parameters of the electrocardiograph cycle
- A61B5/352—Detecting R peaks, e.g. for synchronising diagnostic apparatus; Estimating R-R interval
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- Cardiology (AREA)
- Veterinary Medicine (AREA)
- Physics & Mathematics (AREA)
- Public Health (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Molecular Biology (AREA)
- General Health & Medical Sciences (AREA)
- Physiology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Signal Processing (AREA)
- Psychiatry (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
The invention discloses an automatic classification method for electrocardiogram signals. The method is achieved according to the following steps of firstly, obtaining electrocardiogram signals of a human body, conducting filtering on the electrocardiogram signals, and detecting R waves of the electrocardiogram signals where filtering is conducted; secondly, establishing a data set after the R waves are detected, wherein the data set is composed of multiple sets of cardiac beat data, and each set of cardiac beat data has a label; thirdly, establishing a sparse automatic coding deep learning network; fourthly, training the sparse automatic coding deep learning network step by step; fifthly, inputting the to-be-measured cardiac beat data into the sparse automatic coding deep learning network according to the network weight, obtained in the fourth step, of the first hidden layer, the network weight, obtained in the fourth step, of the second hidden layer and the network weight, obtained in the fourth step, of the softmax classifier so as to obtain cardiac data which are output in a classified mode. The sparse automatic coding deep learning network is applied to the classification of the cardiac beat data, and by means of the autonomous leaning capacity and the deep characteristic excavation characteristic of the sparse automatic coding deep learning network, deeper characteristics of signals are extracted, and the cardiac beat data are classified.
Description
Technical field
The present invention relates to the automatic examination and analysb technology of electrocardiosignal, particularly a kind of electrocardiosignal automatic classification method.
Background technology
Heart disease has disguise and latency, is difficult to show on electrocardiogram when not falling ill, and is again of short duration during morbidity, has little time to observe electrocardiogram.Need to carry 24 hours Holter to patient for this reason, carry out 24 hours ecg signal acquirings, then give doctor electrocardiogram (ECG) data, by doctor to data analysis.The data volume now produced is huge, and doctor needs the plenty of time to find the bat of the abnormal heart.Although the software system energy automatic analysis heart that Holter carries is clapped, and provides statistical information, because human body differs greatly, electrocardio change is complicated, and some heart is clapped still needs doctor's artificial cognition to correct.In so a large amount of data, find the heart of error flag to clap also is a very hard work.In order to greatly save doctor's time, improve diagnosis efficiency, stable Algorithms for Automatic Classification is very necessary.
Summary of the invention
The object of this invention is to provide a kind of electrocardiosignal automatic classification method, to solve existing sorting algorithm to different human body, the instability problem of electrocardiosignal classification under varying environment.
The object of the present invention is achieved like this: electrocardiosignal automatic classification method provided by the present invention, comprises the following steps:
A) obtain the electrocardiosignal of human body, and carry out Filtering Processing, the R ripple of the electrocardiosignal after detection filter;
B) after R ripple being detected, build data set, described data set is made up of some groups of heart beat of data, often organize described heart beat of data all with a kind of label, described label always has 6 kinds, is divided into the bat of the normal heart, left bundle branch block, right bundle branch block, ventricular premature contraction, artrial premature beat, amalgamation heart beating:
Often organize described heart beat of data and comprise 270 sampled points, these 270 sampled points are the positions of R ripple according to detecting, choose 90 sampled points before the wave crest point of described R ripple, described R ripple wave crest point choose 179 sampled points below;
C) sparse automatic encoding degree of deep learning network is built:
Described sparse automatic encoding degree of deep learning network has two hidden layers, after connect softmax grader, wherein, described two hidden layers are respectively the first hidden layer and the second hidden layer;
Described sparse automatic encoding degree of deep learning network be input as 270 sampled points, described first node in hidden layer is 130, and described second node in hidden layer is 50;
D) substep trains described sparse automatic encoding degree of deep learning network:
D-1) heart beat of data of described data set is normalized, then SAE model is inputted, adopt the first hidden layer of sparse automatic encoding degree of deep learning network described in SAE model training, obtain the network weight of the first hidden layer, and obtain the shallow-layer feature of heart beat of data;
D-2) same SAE model is adopted, described shallow-layer feature is inputted described SAE model, train the second hidden layer of described sparse automatic encoding degree of deep learning network, obtain the network weight of the second hidden layer, and obtain the high-level feature of described some groups of heart beat of data;
D-3) the high-level feature obtained is input to softmax grader, training softmax grader, obtains the network weight of softmax grader;
E) according to steps d) network weight of the network weight of the first hidden layer of gained, the network weight of the second hidden layer and softmax grader, to treat the described sparse automatic encoding degree of deep learning network of thought-read beat of data input, the classification obtaining heart beat of data exports.
Described step detailed process a) is as follows:
(1) signals collecting: gather human body electrocardio primary signal with the frequency acquisition of 250Hz, and be stored as the data mode of TXT document, then with Matlab software, the electrocardio original signal data that described TXT document stores is read in computer;
(2) Filtering Processing is carried out to described electrocardio original signal data:
(2-1) wavelet decomposition is carried out to described electrocardio primary signal: select DB6 small echo, 8 layers of decomposition are carried out to signal, obtains the wavelet coefficient d on each yardstick
i;
(2-2) adopt the calculated threshold method improved, ask for the threshold value of each yardstick, thresholding process is carried out to wavelet coefficient:
Wherein, T
ifor the threshold value improved, i represents the wavelet decomposition number of plies, and e is natural constant, and n represents sampling number, σ
iaverage for wavelet coefficient absolute value:
(2-3) soft threshold method is adopted to carry out thresholding process to signal: to choose different threshold values at different scale and carry out thresholding process, obtain filtered electrocardiosignal;
(3) according to the difference of QRS wave group and P ripple, T wave frequency distribution, select QRS wave group and P ripple, T wave frequency overlapping minimum 3rd, 4 yardsticks that distribute to carry out wavelet reconstruction, obtain the electrocardiosignal S' after reconstruct;
(4) energy window conversion is carried out to the electrocardiosignal through wavelet reconstruction, and chooses maximum point:
(4-1) energy window conversion: by following formula, the electrocardiosignal S' through wavelet reconstruction is transformed to energy domain analysis by time domain analysis, obtains electrocardiosignal energy curve:
Wherein, E
nrepresent the energy value of the n-th sampled point; N is selected length of window, value 26; M is total sampling number; S'
nrepresent n-th data of the electrocardiosignal S' after described wavelet reconstruction;
(4-2) maximum point is chosen: obtained electrocardiosignal energy curve is carried out hard-threshold process, that is:
Wherein, T
hfor selected threshold value, get T
h=0.3*median (E
n),
Then select the crest location of the electrocardiosignal energy curve after hard-threshold process as maximum point;
(5) maximum point is optimized: set 2 time threshold t
1and t
2, and t
1<t
2when the interval of any two maximum points is less than t
1time, just remove less that of amplitude between these two maximum points; When any two maximum points interval greater than t
2time, just between these two maximum points, find another unrecognized extreme point; When the interval of any two maximum points was both greater than t
1, be less than t again
2, then these two maximum points all retain, the maximum point through optimizing finally obtained, and the corresponding QRS wave group of maximum point through optimizing described in each;
(6) according to the time point at maximum point place each in step (5), in filtered electrocardiosignal described in step (2) about corresponding time point each 7 sampled points scope in the point of search signal amplitude maximum, as the R ripple detected.
Sparse automatic encoding degree of deep learning network is applied to the classification of heart beat of data by the present invention, makes full use of the characteristic of its independent learning ability and further feature excavation, extracts the deeper feature of signal, and then classify to heart beat of data.Specific sparse automatic encoding degree of deep learning network constructed by the present invention, the large data characteristic of electrocardiosignal can be made full use of, excavate the profound feature of electrocardiosignal, it is made to be provided with good stability for the ECG Signal Analysis of Different Individual under complex environment, by network structure reasonable in design and suitable network training method, achieve the automatic classification of the electrocardiosignal under complicated individuality and complex environment, solve the problem of electrocardiosignal sorting algorithm instability under reply individual variation and complexity bad border in prior art, accurately, the stable accurate identification achieving 6 class common arrhythmia beat.
In addition, the present invention carries out choosing specific wavelet basis function and the wavelet decomposition number of plies in wavelet decomposition process to signal, the threshold method adopting improvement in thresholding processing procedure is being carried out to signal simultaneously, the myoelectricity interference that filtered signal is mingled with in filtering electrocardiosignal, while baseline drift and Hz noise, as much as possiblely remain useful information, improve the phenomenon of generic threshold value excess smoothness.QRS wave group, by carrying out wavelet reconstruction, extracts, and P ripple, T ripple is used as noise eliminating, effectively prevent tall and big P ripple, flase drop that T ripple causes in the detection by the present invention, improves the precision of detection.Present invention employs energy window alternative approach, convert the signal into energy domain and go analyze thus solve in time-domain analysis, signal is subject to the impact of high-frequency noise, and can not by the problem of whole filtering in filtering.In energy window conversion, the present invention has taken into full account the temporal signatures of electrocardiosignal and the leap time of QRS wave group, carries out the selection that window is long.The results show is when only fenestrate length is 26, and the detection leakage phenomenon that the QRS ripple of many inspections that the spurious peaks of noise produces and low amplitude value causes could the most effectively be avoided.
Accompanying drawing explanation
Fig. 1 is flow chart of the present invention.
Fig. 2 is electrocardio primary signal.
Fig. 3 is for carrying out filtered electrocardiosignal.
Fig. 4 is the electrocardiosignal after being reconstructed.
Fig. 5 is the electrocardiosignal choosing maximum point after carrying out hard-threshold process.
Fig. 6 is the flow chart be optimized maximum point.
Fig. 7 is detected R ripple.
Fig. 8 is sparse automatic encoding degree of deep learning network structure chart.
Fig. 9 is degree of deep learning network training process figure.
Detailed description of the invention
Embodiment 1:
The present embodiment, at Intel Xeon CPU E5-2697 2.70GHz, inside saves as 128.00GB, Win7, realizes in the computer of 64 bit manipulation systems, and whole electrocardiosignal Algorithms for Automatic Classification adopts Matlab language to realize.
Implementation process of the present invention is as shown in Figure 1:
A) obtain human body electrocardio primary signal, and carry out Filtering Processing, the R ripple of the electrocardiosignal after detection filter, it specifically operates according to the following steps:
(1) electrocardio primary signal gathers: the present invention utilizes the MedSun18 of Beijing Peng Yangfeng industry Holter that leads to gather the electrocardiosignal of human body for a long time, and its sampling output frequency is 250Hz, gathers electrocardiogram (ECG) data and stores with the form of TXT.It can read easily in Matlab environment and show, and its form is as Fig. 2.
(2) Filtering Processing is carried out to gathered electrocardio original signal data:
(2-1) wavelet decomposition is carried out to electrocardio primary signal: the DB6 small echo selecting Daubechies small echo series, carry out 8 layers of decomposition, as shown in table 1:
Table 1: under the sample frequency of 250Hz, 8 layers of decomposition are carried out to DB6 small echo
Scale | 250HZ |
1 | 62.5-125 |
2 | 31.25-62.5 |
3 | 15.625-31.25 |
4 | 7.8125-15.625 |
5 | 3.90625-7.8125 |
6 | 1.953125-3.90625 |
7 | 0.9765625-1.953125 |
8 | 0.48828125-0.9765625 |
Then the wavelet coefficient d on each yardstick is extracted
i.
(2-2) adopt the method for the calculated threshold improved, ask for the threshold value of each yardstick, to obtain the threshold value through improving, that is:
In formula I, i represents the wavelet decomposition number of plies, T
ifor the threshold value improved, e is natural constant, and n represents sampling number, σ
ifor the average of wavelet coefficient absolute value, its expression formula is
Compare existing fixed threshold method and minimax threshold method, after improving by the algorithm of formula I to threshold value, the threshold value after improvement has sideband adaptivity, and maintains good denoising reconstruction property.
(2-3) adopt soft threshold method, each yardstick being chosen the corresponding threshold value through improving, by formula II, thresholding process being carried out to electrocardiosignal, that is:
Wherein j=i;
Thus obtain filtered electrocardiosignal, as shown in Figure 3.
Filtered electrocardiosignal, as much as possiblely remains useful information, improves the phenomenon of generic threshold value excess smoothness, makes filter effect more stable.
(3) the frequency distribution scope of normal electrocardiosignal QRS wave group is 5-45Hz, as can be seen from Table 1, it mainly concentrates on 3,4 yardsticks, and P ripple and T wave frequency distribution are 0.05 to 10Hz, 3,4 yardsticks do not have or only has a small amount of distribution, therefore, according to the difference of QRS wave group and P ripple, T wave frequency distribution, 3,4 yardsticks selecting QRS wave group and P ripple, T wavelength-division cloth frequency overlap minimum carry out wavelet reconstruction to through filtered electrocardiosignal, that is:
In formula III,
with
be respectively by step (2) the result of electrocardiosignal after thresholding process on 3,4 yardsticks.
After wavelet reconstruction, the electrocardiosignal obtained is mainly the information of QRS wave group, serves the effect highlighting QRS wave group, as shown in Figure 4.
(4) energy window conversion is carried out to the electrocardiosignal after wavelet reconstruction, and chooses maximum point:
(4-1) energy window conversion: by following formula IV, the electrocardiosignal S' through wavelet reconstruction is transformed to energy domain analysis by time domain analysis, obtains electrocardiosignal energy curve:
Wherein, E
nrepresent the energy value of the n-th sampled point; N is selected length of window (N=26), and M is total sampling number, S'
nrepresent n-th data of the electrocardiosignal S' after step (3) wavelet reconstruction.
In energy window conversion, choosing of window length is a key, and it directly determines that whether R ripple detection algorithm is effective.The present invention has taken into full account the temporal signatures of electrocardiosignal and the leap time of QRS wave group, the selection of its N value is determined as follows: the sample frequency of the present embodiment electrocardiosignal is 250Hz, and normal QRS wave group is generally no more than 0.1s, be 25 sampled points, we choose window long is even number, is 26.The results show is when only fenestrate length is 26, and the detection leakage phenomenon that the QRS ripple of many inspections that the spurious peaks of noise produces and low amplitude value causes could the most effectively be avoided.
In time-domain analysis, signal is subject to the impact of high-frequency noise, and can not, by whole filtering, for this problem, adopt the method for energy bed conversion that time domain analysis is transformed to energy domain analysis in filtering.Energy domain, compared to time domain analysis, has better robustness to noise.As Fig. 5, after energy window conversion, the QRS wave group location point of signal becomes more outstanding, the heart is clapped and the heart claps between interval more obviously, the impact of high-frequency noise also dies down accordingly.
(4-2) maximum point is chosen: the signal energy curve obtained is carried out hard-threshold process:
In formula (V), T
hfor selected threshold value, get T
h=0.3*median (E
n).
Then the crest location of the electrocardiosignal energy curve after hard-threshold process is chosen as maximum point, as shown in Figure 5.
(5) maximum point is optimized: the flow chart given by Fig. 6, sets 2 time threshold t
1and t
2, and t
1<t
2when the interval of any two maximum points is less than t
1time, just remove less that of amplitude between these two maximum points; When any two maximum points interval greater than t
2time, just between these two maximum points, find another unrecognized extreme point; Interval as two maximum points was both greater than t
1, be less than t again
2, then these two maximum points all retain, the corresponding QRS wave group of each maximum point through optimizing so finally obtained.
In Fig. 6, E
trepresent the meansigma methods of the interval of all maximum points that step (4-2) obtains, t
1=0.5 × E
t, t
2=1.5 × E
t.
(6) according to the time point at each maximum point place determined in step (5), in the step (2) after filtering in electrocardiosignal about corresponding time point each 7 sampled points scope in the point of search signal amplitude maximum, be the R ripple (Fig. 7) detected.
In actual application, other frequency can be selected as required to carry out the collection of electrocardiosignal, and select any one small echo in Haar, Daubechies or Symlets to carry out the decomposition of the suitable number of plies, and according to practical situation determine voluntarily follow-up carry out yardstick selected by wavelet reconstruction and energy window conversion time window long selection.Should be slightly different for the structure of different application degree of deep learning networks and corresponding node in hidden layer.Training method also will change flexibly, is not limited to fixed form.
B) after obtaining R ripple position, data set is built, this data set is made up of 33950 groups of heart beat of data, often organize heart beat of data all with a kind of label, label always has 6 kinds, represents the bat of the normal heart, left bundle branch block, right bundle branch block, ventricular premature contraction, artrial premature beat, amalgamation heart beating respectively:
Often organize heart beat of data and comprise 270 sampled points, these 270 sampled points are the positions of R ripple a) obtained according to step, choose 90 sampled points before this R wave crest point in electrocardiosignal figure after the filtering, after choose 179 sampled points, namely each group heart beat of data comprises 270 sampled points.
Data set in the present embodiment contains 33950 groups of heart beat of data from multiple people and same person different times, data centralization comprises various types of heart and claps, and by wherein 22350 groups of heart beat of data are as training dataset, remaining 11600 groups of heart beat of data are as test data set.Training dataset and test data concentrate the label all comprising six types.
C) sparse automatic encoding degree of deep learning network (abbreviation learning network) is built
As shown in Figure 8, it has two hidden layers (the first hidden layer and the second hidden layer) to this sparse automatic encoding degree of deep learning network structure, at the softmax of the connection below grader of the second hidden layer.
Learning network be input as 270 sampled points, first node in hidden layer is 130 (can obtain 130 shallow-layer features through the first hidden layer), and the second node in hidden layer is 50 (can obtain 50 high-level features through the second hidden layer).
D) substep trains sparse automatic encoding degree of deep learning network
D-1) 22350 of training dataset groups of heart beat of data are normalized:
Wherein
x
minand x
maxbe respectively the minimum and maximum value of inputted heart amplitude of beat value.
By the heart beat of data input SAE model after normalized, adopt SAE model training learning network first hidden layer, its flow process as shown in Figure 9.
Concrete, SAE model be input as one group of heart beat of data (270 sampled point), hidden layer node number is 130.Select sigmoid function f (z)=1/ (1+exp (-z)) as neuronic activation primitive; First hidden layer node activation value function is h (g)=f (W
1g+b
1), wherein
for weight matrix,
for bias vector.The output of SAE is
for weight matrix,
for bias vector.
In order to make output
infinite approach g, introducing cost function, by minimizing cost function training network, obtaining network weight W
1and W
2, and obtain 130 shallow-layer features of heart beat of data, concrete:
When the number of training sample (training data is concentrated after normalized heart to clap and is a training sample) is q, the cost function of SAE is expressed as:
Wherein,
be sparse penalty factor, β controls the weight of sparse penalty factor,
be the average activity of this hidden layer jth neuron on q training sample, ρ is openness parameter, and we choose λ=3 × 10
-10, β=3, ρ=0.2;
Then we adopt L-BFGS optimization method to minimize cost function J
w,bg (), greatest iteration step number is set to 400, and we obtain 130 shallow-layer features of heart beat of data like this.
D-2) obtain 130 shallow-layer features are inputted same SAE model, adopt training study network second hidden layer that uses the same method, obtain second layer network weight, and obtain 50 high-level feature H of heart beat of data.
Concrete, the second node in hidden layer is 50, and same sigmoid function of selecting is as neuronic activation primitive, and the second hidden layer node activation value function is H (g)=f (W
3h (g)+b
3), wherein
for weight matrix,
for bias vector.The now output of SAE is
for weight matrix,
for bias vector.In order to make output
infinite approach h, introduces identical cost function, obtains weights W by minimizing cost function training network
3and W
4, and obtain 50 high-level features of heart beat of data, concrete:
When training sample number is q, the cost function of SAE is expressed as:
Wherein,
be sparse penalty factor, β controls the weight of sparse penalty factor,
be the average activity of this hidden layer jth neuron on q training sample, ρ is openness parameter.We choose λ=3 × 10
-10, β=3, ρ=0.2;
Then we adopt L-BFGS optimization method to minimize cost function J
w,bg (), greatest iteration step number is set to 400, so just obtains 50 high-level features of heart beat of data.
D-3) by d-2) in the further feature H of heart beat of data that extracts input Softmax grader, training softmax grader, obtains the network weight of softmax grader, specific as follows:
Softmax grader can be expressed as:
Wherein r
θ(H
(i)) in each component p (y
(i)=j|H
(i); θ) represent H
(i)belong to the probability of jth class, i=1,2 ... 50, j is 1,2 ... 6, θ is network weight matrix,
Selected cost function is defined as:
Wherein 1{y
(i)=j} is indicator function, and the expression formula among brace is that very then indicator function value is 1, otherwise indicator function value is 0.In above formula, plus sige part is below the weights attenuation term in order to prevent model generation over-fitting from adding, and elects α=6 × 10 as
-7.
We adopt L-BFGS optimization method to finely tune the network weight of softmax grader, cost function J (θ) is minimized by selecting L-BFGS optimization method, arranging greatest iteration step number is 400, and the heart that the label that the most probable value of Softmax regression Calculation is corresponding when algorithmic statement is the prediction of arrhythmia automatic identification algorithm claps classification.
E) verify: according to steps d) network weight of the network weight of the first hidden layer of gained, the network weight of the second hidden layer and softmax grader, test data set is inputted learning network, obtain the heart beat of data exported of classifying, realize the automatic classification that the heart is clapped.
The result adopting method of the present invention to classify to heart beat of data and self label of heart beat of data contrast, result is as shown in table 1, the classifying quality that the heart that visible method of the present invention is clapped the normal heart, left bundle branch block, right bundle branch block, ventricular premature contraction, artrial premature beat, amalgamation heart beating 6 kinds are common is clapped is very good, the very high nicety of grading all reached.
Table 1 classification results test chart
Label | Sample number | Correct number of categories | Accuracy rate |
The normal heart is clapped | 3600 | 3598 | 99.94% |
Left bundle branch block | 2400 | 2387 | 99.46% |
Right bundle branch block | 2400 | 2398 | 99.92% |
Ventricular premature contraction | 1150 | 1129 | 98.17% |
Artrial premature beat | 850 | 830 | 97.65% |
Amalgamation heart beating | 1200 | 1200 | 100% |
Amount to | 11600 | 11542 | 99.50% |
Claims (1)
1. an electrocardiosignal automatic classification method, is characterized in that, comprises the following steps:
A) obtain the electrocardiosignal of human body, and carry out Filtering Processing, the R ripple of the electrocardiosignal after detection filter;
B) after R ripple being detected, build data set, described data set is made up of some groups of heart beat of data, often organize described heart beat of data all with a kind of label, described label always has 6 kinds, is respectively the bat of the normal heart, left bundle branch block, right bundle branch block, ventricular premature contraction, artrial premature beat, amalgamation heart beating:
Often organize described heart beat of data and comprise 270 sampled points, these 270 sampled points are the positions of R ripple according to detecting, choose 90 sampled points before the wave crest point of described R ripple, described R ripple wave crest point choose 179 sampled points below;
C) sparse automatic encoding degree of deep learning network is built:
Described sparse automatic encoding degree of deep learning network has two hidden layers, after connect softmax grader, wherein, described two hidden layers are respectively the first hidden layer and the second hidden layer;
Described sparse automatic encoding degree of deep learning network be input as 270 sampled points, described first node in hidden layer is 130, and described second node in hidden layer is 50;
D) substep trains described sparse automatic encoding degree of deep learning network:
D-1) heart beat of data of described data set is normalized, then SAE model is inputted, adopt the first hidden layer of sparse automatic encoding degree of deep learning network described in SAE model training, obtain the network weight of the first hidden layer, and obtain the shallow-layer feature of heart beat of data;
D-2) same SAE model is adopted, described shallow-layer feature is inputted described SAE model, train the second hidden layer of described sparse automatic encoding degree of deep learning network, obtain the network weight of the second hidden layer, and obtain the high-level feature of described some groups of heart beat of data;
D-3) the high-level feature obtained is input to softmax grader, training softmax grader, obtains the network weight of softmax grader;
E) according to the network weight of the network weight of the first hidden layer of step d) gained, the network weight of the second hidden layer and softmax grader, will treat the described sparse automatic encoding degree of deep learning network of thought-read beat of data input, the classification obtaining heart beat of data exports.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510005290.3A CN104523266B (en) | 2015-01-07 | 2015-01-07 | A kind of electrocardiosignal automatic classification method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510005290.3A CN104523266B (en) | 2015-01-07 | 2015-01-07 | A kind of electrocardiosignal automatic classification method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104523266A true CN104523266A (en) | 2015-04-22 |
CN104523266B CN104523266B (en) | 2017-04-05 |
Family
ID=52839037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510005290.3A Active CN104523266B (en) | 2015-01-07 | 2015-01-07 | A kind of electrocardiosignal automatic classification method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104523266B (en) |
Cited By (39)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105125206A (en) * | 2015-09-15 | 2015-12-09 | 中山大学 | Intelligent electrocardio monitoring method and device |
CN105426839A (en) * | 2015-11-18 | 2016-03-23 | 清华大学 | Power system overvoltage classification method based on sparse autocoder |
CN105447306A (en) * | 2015-11-12 | 2016-03-30 | 杨松 | Ballistocardiogram signal cycle calculating method and apparatus |
CN105919590A (en) * | 2016-06-02 | 2016-09-07 | 浙江铭众科技有限公司 | QRS automatic delineation method for multichannel electrocardiogram |
CN105943030A (en) * | 2016-06-02 | 2016-09-21 | 浙江铭众科技有限公司 | Intelligent terminal for achieving multi-channel electrocardiogram QRS automatic planning |
CN106108880A (en) * | 2016-06-28 | 2016-11-16 | 吉林大学 | A kind of heart claps automatic identifying method and system |
WO2016192612A1 (en) * | 2015-06-02 | 2016-12-08 | 陈宽 | Method for analysing medical treatment data based on deep learning, and intelligent analyser thereof |
CN106562782A (en) * | 2016-05-20 | 2017-04-19 | 彭慧敏 | Dedicated ECG monitor for pediatric nursing |
CN106725426A (en) * | 2016-12-14 | 2017-05-31 | 深圳先进技术研究院 | A kind of method and system of electrocardiosignal classification |
CN106725420A (en) * | 2015-11-18 | 2017-05-31 | 中国科学院苏州纳米技术与纳米仿生研究所 | VPB recognition methods and VPB identifying system |
CN106952204A (en) * | 2015-12-02 | 2017-07-14 | 联发科技股份有限公司 | The monitoring method of health care system and physiological signal |
CN107239684A (en) * | 2017-05-22 | 2017-10-10 | 吉林大学 | A kind of feature learning method and system for ECG identifications |
US9824287B2 (en) | 2015-09-29 | 2017-11-21 | Huami Inc. | Method, apparatus and system for biometric identification |
US9948642B2 (en) | 2015-09-29 | 2018-04-17 | Anhui Huami Information Technology Co., Ltd. | Multi-modal biometric identification |
CN108113647A (en) * | 2016-11-28 | 2018-06-05 | 深圳先进技术研究院 | A kind of electrocardiosignal sorter and method |
CN108324264A (en) * | 2018-01-23 | 2018-07-27 | 江苏康尚生物医疗科技有限公司 | A kind of detection method and system of atrial fibrillation |
CN108403107A (en) * | 2018-02-06 | 2018-08-17 | 北京大学深圳研究生院 | A kind of arrhythmia cordis method of discrimination and system |
CN108577830A (en) * | 2018-03-15 | 2018-09-28 | 乐普(北京)医疗器械股份有限公司 | A kind of user oriented sign information dynamic monitor method and dynamic monitor system |
CN108647584A (en) * | 2018-04-20 | 2018-10-12 | 西安交通大学 | Cardiac arrhythmia method for identifying and classifying based on rarefaction representation and neural network |
CN108846410A (en) * | 2018-05-02 | 2018-11-20 | 湘潭大学 | Power Quality Disturbance Classification Method based on sparse autocoding deep neural network |
CN108932452A (en) * | 2017-05-22 | 2018-12-04 | 中国科学院半导体研究所 | Arrhythmia cordis beat classification method based on multiple dimensioned convolutional neural networks |
CN109091138A (en) * | 2018-07-12 | 2018-12-28 | 上海微创电生理医疗科技股份有限公司 | The judgment means and Mapping System of arrhythmia cordis originating point |
CN109480825A (en) * | 2018-12-13 | 2019-03-19 | 武汉中旗生物医疗电子有限公司 | The processing method and processing device of electrocardiogram (ECG) data |
CN109934243A (en) * | 2017-12-19 | 2019-06-25 | 中国科学院深圳先进技术研究院 | ECG data classification method, device, electronic equipment and system |
CN109948396A (en) * | 2017-12-20 | 2019-06-28 | 深圳市理邦精密仪器股份有限公司 | A kind of beat classification method, beat classification device and electronic equipment |
CN110169767A (en) * | 2019-07-08 | 2019-08-27 | 河北大学 | A kind of search method of electrocardiosignal |
US10467548B2 (en) | 2015-09-29 | 2019-11-05 | Huami Inc. | Method, apparatus and system for biometric identification |
CN110464368A (en) * | 2019-08-29 | 2019-11-19 | 苏州中科先进技术研究院有限公司 | Brain attention rate appraisal procedure and system based on machine learning |
CN110974213A (en) * | 2019-12-20 | 2020-04-10 | 哈尔滨理工大学 | Electrocardiosignal identification method based on deep stack network |
CN111084621A (en) * | 2019-12-30 | 2020-05-01 | 上海数创医疗科技有限公司 | QRS wave group form identification method and device based on depth self-encoder |
CN111161874A (en) * | 2019-12-23 | 2020-05-15 | 乐普(北京)医疗器械股份有限公司 | Intelligent electrocardiogram analysis device |
CN111297350A (en) * | 2020-02-27 | 2020-06-19 | 福州大学 | Three-heart beat multi-model comprehensive decision-making electrocardiogram feature classification method integrating source end influence |
CN111523361A (en) * | 2019-12-26 | 2020-08-11 | 中国科学技术大学 | Human behavior recognition method |
CN111904411A (en) * | 2020-08-25 | 2020-11-10 | 浙江工业大学 | Multi-lead heartbeat signal classification method and device based on multi-scale feature extraction |
CN112568908A (en) * | 2020-12-14 | 2021-03-30 | 上海数创医疗科技有限公司 | Electrocardiogram waveform positioning and classifying model device adopting multi-scale visual field depth learning |
US11321561B2 (en) | 2017-03-14 | 2022-05-03 | Huawei Technologies Co., Ltd. | Electrocardiogram waveform signal processing method and apparatus |
US11475341B2 (en) | 2017-12-28 | 2022-10-18 | Tata Consultancy Services Limited | Systems and methods for obtaining optimal mother wavelets for facilitating machine learning tasks |
WO2023077592A1 (en) * | 2021-11-04 | 2023-05-11 | 湖南万脉医疗科技有限公司 | Intelligent electrocardiosignal processing method |
CN116304777A (en) * | 2023-04-12 | 2023-06-23 | 中国科学院大学 | Self-adaptive electrocardiosignal denoising method and system based on reference signal during rest |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110236518B (en) * | 2019-04-02 | 2020-12-11 | 武汉大学 | Electrocardio and heart-shock signal combined classification method and device based on neural network |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101810476A (en) * | 2009-12-22 | 2010-08-25 | 李顶立 | Classification method of heart beat template of dynamic electrocardiogram |
US20110184297A1 (en) * | 2010-01-26 | 2011-07-28 | Stmicroelectronics S.R.L. | Method and device for estimating morphological features of heart beats |
CN102389302A (en) * | 2011-07-20 | 2012-03-28 | 哈尔滨工业大学深圳研究生院 | Analysis method of dynamic characteristics of electrocardiosignal |
CN102715915A (en) * | 2012-07-16 | 2012-10-10 | 山东大学 | Portable heart sound automatic sorting assistant diagnostic apparatus |
CN103156599A (en) * | 2013-04-03 | 2013-06-19 | 河北大学 | Detection method of electrocardiosignal R characteristic waves |
CN103584852A (en) * | 2012-08-15 | 2014-02-19 | 深圳中科强华科技有限公司 | Personalized electrocardiogram intelligent auxiliary diagnosis device and method |
WO2014030162A1 (en) * | 2012-08-22 | 2014-02-27 | Ben-Gurion University Of The Negev Research & Development Authority | Separating clinically relevant sources of electrical activity in ecg signals |
US20140276158A1 (en) * | 2013-03-14 | 2014-09-18 | Medtronic, Inc. | Beat-morphology matching scheme for cardiac sensing and event detection |
CN104224164A (en) * | 2014-09-25 | 2014-12-24 | 新乡医学院第一附属医院 | Electrocardio signal analysis and processing device |
-
2015
- 2015-01-07 CN CN201510005290.3A patent/CN104523266B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101810476A (en) * | 2009-12-22 | 2010-08-25 | 李顶立 | Classification method of heart beat template of dynamic electrocardiogram |
US20110184297A1 (en) * | 2010-01-26 | 2011-07-28 | Stmicroelectronics S.R.L. | Method and device for estimating morphological features of heart beats |
CN102389302A (en) * | 2011-07-20 | 2012-03-28 | 哈尔滨工业大学深圳研究生院 | Analysis method of dynamic characteristics of electrocardiosignal |
CN102715915A (en) * | 2012-07-16 | 2012-10-10 | 山东大学 | Portable heart sound automatic sorting assistant diagnostic apparatus |
CN103584852A (en) * | 2012-08-15 | 2014-02-19 | 深圳中科强华科技有限公司 | Personalized electrocardiogram intelligent auxiliary diagnosis device and method |
WO2014030162A1 (en) * | 2012-08-22 | 2014-02-27 | Ben-Gurion University Of The Negev Research & Development Authority | Separating clinically relevant sources of electrical activity in ecg signals |
US20140276158A1 (en) * | 2013-03-14 | 2014-09-18 | Medtronic, Inc. | Beat-morphology matching scheme for cardiac sensing and event detection |
CN103156599A (en) * | 2013-04-03 | 2013-06-19 | 河北大学 | Detection method of electrocardiosignal R characteristic waves |
CN104224164A (en) * | 2014-09-25 | 2014-12-24 | 新乡医学院第一附属医院 | Electrocardio signal analysis and processing device |
Cited By (50)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016192612A1 (en) * | 2015-06-02 | 2016-12-08 | 陈宽 | Method for analysing medical treatment data based on deep learning, and intelligent analyser thereof |
US11200982B2 (en) | 2015-06-02 | 2021-12-14 | Infervision Medical Technology Co., Ltd. | Method for analysing medical treatment data based on deep learning and intelligence analyser thereof |
CN105125206A (en) * | 2015-09-15 | 2015-12-09 | 中山大学 | Intelligent electrocardio monitoring method and device |
US9948642B2 (en) | 2015-09-29 | 2018-04-17 | Anhui Huami Information Technology Co., Ltd. | Multi-modal biometric identification |
US10467548B2 (en) | 2015-09-29 | 2019-11-05 | Huami Inc. | Method, apparatus and system for biometric identification |
US9824287B2 (en) | 2015-09-29 | 2017-11-21 | Huami Inc. | Method, apparatus and system for biometric identification |
US9946942B2 (en) | 2015-09-29 | 2018-04-17 | Huami Inc. | Method, apparatus and system for biometric identification |
CN105447306A (en) * | 2015-11-12 | 2016-03-30 | 杨松 | Ballistocardiogram signal cycle calculating method and apparatus |
CN105426839A (en) * | 2015-11-18 | 2016-03-23 | 清华大学 | Power system overvoltage classification method based on sparse autocoder |
CN106725420A (en) * | 2015-11-18 | 2017-05-31 | 中国科学院苏州纳米技术与纳米仿生研究所 | VPB recognition methods and VPB identifying system |
CN106952204A (en) * | 2015-12-02 | 2017-07-14 | 联发科技股份有限公司 | The monitoring method of health care system and physiological signal |
CN106562782A (en) * | 2016-05-20 | 2017-04-19 | 彭慧敏 | Dedicated ECG monitor for pediatric nursing |
CN105919590A (en) * | 2016-06-02 | 2016-09-07 | 浙江铭众科技有限公司 | QRS automatic delineation method for multichannel electrocardiogram |
CN105919590B (en) * | 2016-06-02 | 2017-03-29 | 浙江铭众科技有限公司 | A kind of automatic demarcation methods of the Electrocardiographic QRS of multichannel |
CN105943030B (en) * | 2016-06-02 | 2017-03-29 | 浙江铭众科技有限公司 | A kind of intelligent terminal for realizing the automatic delimitations of multichannel electrocardiogram QRS |
CN105943030A (en) * | 2016-06-02 | 2016-09-21 | 浙江铭众科技有限公司 | Intelligent terminal for achieving multi-channel electrocardiogram QRS automatic planning |
CN106108880A (en) * | 2016-06-28 | 2016-11-16 | 吉林大学 | A kind of heart claps automatic identifying method and system |
CN108113647A (en) * | 2016-11-28 | 2018-06-05 | 深圳先进技术研究院 | A kind of electrocardiosignal sorter and method |
CN106725426A (en) * | 2016-12-14 | 2017-05-31 | 深圳先进技术研究院 | A kind of method and system of electrocardiosignal classification |
US11321561B2 (en) | 2017-03-14 | 2022-05-03 | Huawei Technologies Co., Ltd. | Electrocardiogram waveform signal processing method and apparatus |
CN107239684A (en) * | 2017-05-22 | 2017-10-10 | 吉林大学 | A kind of feature learning method and system for ECG identifications |
CN108932452A (en) * | 2017-05-22 | 2018-12-04 | 中国科学院半导体研究所 | Arrhythmia cordis beat classification method based on multiple dimensioned convolutional neural networks |
CN109934243A (en) * | 2017-12-19 | 2019-06-25 | 中国科学院深圳先进技术研究院 | ECG data classification method, device, electronic equipment and system |
CN109948396B (en) * | 2017-12-20 | 2021-07-23 | 深圳市理邦精密仪器股份有限公司 | Heart beat classification method, heart beat classification device and electronic equipment |
CN109948396A (en) * | 2017-12-20 | 2019-06-28 | 深圳市理邦精密仪器股份有限公司 | A kind of beat classification method, beat classification device and electronic equipment |
US11475341B2 (en) | 2017-12-28 | 2022-10-18 | Tata Consultancy Services Limited | Systems and methods for obtaining optimal mother wavelets for facilitating machine learning tasks |
CN108324264A (en) * | 2018-01-23 | 2018-07-27 | 江苏康尚生物医疗科技有限公司 | A kind of detection method and system of atrial fibrillation |
CN108403107B (en) * | 2018-02-06 | 2019-12-31 | 北京大学深圳研究生院 | Arrhythmia discrimination method and system |
CN108403107A (en) * | 2018-02-06 | 2018-08-17 | 北京大学深圳研究生院 | A kind of arrhythmia cordis method of discrimination and system |
CN108577830A (en) * | 2018-03-15 | 2018-09-28 | 乐普(北京)医疗器械股份有限公司 | A kind of user oriented sign information dynamic monitor method and dynamic monitor system |
CN108647584A (en) * | 2018-04-20 | 2018-10-12 | 西安交通大学 | Cardiac arrhythmia method for identifying and classifying based on rarefaction representation and neural network |
CN108647584B (en) * | 2018-04-20 | 2022-04-22 | 西安交通大学 | Arrhythmia identification and classification method based on sparse representation and neural network |
CN108846410A (en) * | 2018-05-02 | 2018-11-20 | 湘潭大学 | Power Quality Disturbance Classification Method based on sparse autocoding deep neural network |
CN109091138A (en) * | 2018-07-12 | 2018-12-28 | 上海微创电生理医疗科技股份有限公司 | The judgment means and Mapping System of arrhythmia cordis originating point |
CN109480825B (en) * | 2018-12-13 | 2021-08-06 | 武汉中旗生物医疗电子有限公司 | Electrocardio data processing method and device |
CN109480825A (en) * | 2018-12-13 | 2019-03-19 | 武汉中旗生物医疗电子有限公司 | The processing method and processing device of electrocardiogram (ECG) data |
CN110169767A (en) * | 2019-07-08 | 2019-08-27 | 河北大学 | A kind of search method of electrocardiosignal |
CN110464368A (en) * | 2019-08-29 | 2019-11-19 | 苏州中科先进技术研究院有限公司 | Brain attention rate appraisal procedure and system based on machine learning |
CN110974213A (en) * | 2019-12-20 | 2020-04-10 | 哈尔滨理工大学 | Electrocardiosignal identification method based on deep stack network |
CN111161874A (en) * | 2019-12-23 | 2020-05-15 | 乐普(北京)医疗器械股份有限公司 | Intelligent electrocardiogram analysis device |
CN111523361A (en) * | 2019-12-26 | 2020-08-11 | 中国科学技术大学 | Human behavior recognition method |
CN111523361B (en) * | 2019-12-26 | 2022-09-06 | 中国科学技术大学 | Human behavior recognition method |
CN111084621A (en) * | 2019-12-30 | 2020-05-01 | 上海数创医疗科技有限公司 | QRS wave group form identification method and device based on depth self-encoder |
CN111084621B (en) * | 2019-12-30 | 2022-09-06 | 上海数创医疗科技有限公司 | QRS wave group form identification method and device based on depth self-encoder |
CN111297350A (en) * | 2020-02-27 | 2020-06-19 | 福州大学 | Three-heart beat multi-model comprehensive decision-making electrocardiogram feature classification method integrating source end influence |
CN111904411A (en) * | 2020-08-25 | 2020-11-10 | 浙江工业大学 | Multi-lead heartbeat signal classification method and device based on multi-scale feature extraction |
CN112568908A (en) * | 2020-12-14 | 2021-03-30 | 上海数创医疗科技有限公司 | Electrocardiogram waveform positioning and classifying model device adopting multi-scale visual field depth learning |
WO2023077592A1 (en) * | 2021-11-04 | 2023-05-11 | 湖南万脉医疗科技有限公司 | Intelligent electrocardiosignal processing method |
CN116304777A (en) * | 2023-04-12 | 2023-06-23 | 中国科学院大学 | Self-adaptive electrocardiosignal denoising method and system based on reference signal during rest |
CN116304777B (en) * | 2023-04-12 | 2023-11-03 | 中国科学院大学 | Self-adaptive electrocardiosignal denoising method and system based on reference signal during rest |
Also Published As
Publication number | Publication date |
---|---|
CN104523266B (en) | 2017-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104523266A (en) | Automatic classification method for electrocardiogram signals | |
CN108714026B (en) | Fine-grained electrocardiosignal classification method based on deep convolutional neural network and online decision fusion | |
CN103156599B (en) | Detection method of electrocardiosignal R characteristic waves | |
Sangaiah et al. | An intelligent learning approach for improving ECG signal classification and arrhythmia analysis | |
CN111184508B (en) | Electrocardiosignal detection device and analysis method based on joint neural network | |
CN107837082A (en) | Electrocardiogram automatic analysis method and device based on artificial intelligence self study | |
Korürek et al. | Clustering MIT–BIH arrhythmias with Ant Colony Optimization using time domain and PCA compressed wavelet coefficients | |
CN111990989A (en) | Electrocardiosignal identification method based on generation countermeasure and convolution cyclic network | |
CN107822622A (en) | Electrocardiographic diagnosis method and system based on depth convolutional neural networks | |
Javadi et al. | Improving ECG classification accuracy using an ensemble of neural network modules | |
CN111053549A (en) | Intelligent biological signal abnormality detection method and system | |
CN111449644A (en) | Bioelectricity signal classification method based on time-frequency transformation and data enhancement technology | |
CN105877766A (en) | Mental state detection system and method based on multiple physiological signal fusion | |
CN109907752A (en) | A kind of cardiac diagnosis and monitoring method and system of the interference of removal motion artifacts and ecg characteristics detection | |
CN113397555A (en) | Arrhythmia classification algorithm of C-LSTM for physiological parameter monitoring | |
CN102697493A (en) | Method for rapidly and automatically identifying and removing ocular artifacts in electroencephalogram signal | |
CN110313894A (en) | Arrhythmia cordis sorting algorithm based on convolutional neural networks | |
CN102930284A (en) | Surface electromyogram signal pattern recognition method based on empirical mode decomposition and fractal | |
CN107249449A (en) | Systems, devices and methods for sensing F/A | |
CN108090509A (en) | A kind of adaptive electrocardiogram sorting technique of data length | |
CN114469124B (en) | Method for identifying abnormal electrocardiosignals in movement process | |
CN102258368B (en) | Time-domain sparsity linear aliasing blind separation model discrimination method in fetal electrocardiogram detection | |
CN112633195A (en) | Myocardial infarction identification and classification method based on frequency domain features and deep learning | |
CN103761424A (en) | Electromyography signal noise reducing and aliasing removing method based on second-generation wavelets and ICA (independent component analysis) | |
CN106137185A (en) | A kind of epileptic chracter wave detecting method based on structure of transvers plate small echo |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |