Skip to content

puallee/Online-dictionary-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online-dictionary-learning

This is the official Matlab implementation of online sparse dictionary learning and time pyramid matching ["Nanyu Li, Yujuan Si, Duo Deng, Chunyu Yuan ECG beats classification via online sparse dictionary and time pyramid matching",In the IEEE 17th International Conference on Communication Technology (ICCT) ] which can download from https://ieeexplore.ieee.org/abstract/document/8359889,https://arxiv.org/abs/2008.06672

Compatibility

  • The code is tested using Window 10, with matlab 2012.

Abstract

Recently, the Bag-Of-Word (BOW) algorithm provides efficient features and promotes the accuracy of the ECG classification system. However, BOW algorithm has two shortcomings: (1). it has large quantization errors and poor reconstruction performance; (2). it loses heart beat's time information, and may provide confusing features for different kinds of heart beats. Furthermore, ECG classification system can be used for long time monitoring and analysis of cardiovascular patients, while a huge amount of data will be produced, so we urgently need an efficient compression algorithm. In view of the above problems, we use the wavelet feature to construct the sparse dictionary, which lower the quantization error to a minimum. In order to reduce the complexity of our algorithm and adapt to large-scale heart beats operation, we combine the Online Dictionary Learning with Feature-sign algorithm to update the dictionary and coefficients. Coefficients matrix is used to represent ECG beats, which greatly reduces the memory consumption, and solve the problem of quantitative error simultaneously. Finally, we construct the pyramid to match coefficients of each ECG beat. Thus, we obtain the features that contain the beat time information by time stochastic pooling. It is efficient to solve the problem of losing time information. The experimental results show that: on the one hand, the proposed algorithm has advantages of high reconstruction performance for BOW, this storage method is high fidelity and low memory consumption; on the other hand, our algorithm yields highest accuracy in ECG beats classification; so this method is more suitable for large-scale heart beats data storage and classification.

Content


The code includes
dataset is from MIT-BIH http://ecg.mit.edu/
1.dictionary learning:
KSVD+OMP
DualNewton+Feature-sign
Online dictionary learning+ LARS
Online dictionary learnin+Feature-sign
2.pyramid mathcing:
time pyramid matching
3.Classifier:
SVM
ELM

Contact

Email: [email protected]

related journal

Nanyu Li, Yujuan Si, Di Wang, Tong Liu, Jinrun Yu,ECG Beats Fast Classification Base on Sparse Dictionaries. which can download from https://arxiv.org/abs/2009.03792

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages