Skip to main content

Electrocardiogram-Based Heart Disease Classification with Machine Learning Techniques

  • Conference paper
  • First Online:
Advances in Computational Collective Intelligence (ICCCI 2023)

Abstract

Automatic extraction of relevant and reliable information from electrocardiogram (ECG) signals is essential for heart disease diagnosis and treatment. This study proposes deep learning model based on improved one-dimensional convolutional neural network (1D-CNN) architecture for classifying heart disease using ECG data. First, we collect ECG recordings from patients with and without heart disease. Then, the relevant features are extracted from the ECG data, which is a critical step as the features’ quality directly impacts the predictive models’ performance. Next, we apply the predictive models, encompassing 1D-CNN, Support Vector Machine (SVM), and Logistic Regression, combined with fine-tuned hyperparameters and StandardScaler, to improve heart disease prediction performance. The experimental results show that the proposed deep learning model using 1D-CNN combined with fine-tuning hyperparameters and StandardScaler can achieve better classification results on ECG-based heart disease classification tasks than previous studies.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Sattar, Y., Chhabra, L.: Electrocardiogram. In: StatPearls [Internet]. StatPearls Publishing (2022)

    Google Scholar 

  2. Wang, H., Shi, H., Chen, X., Zhao, L., Huang, Y., Liu, C.: An improved convolutional neural network based approach for automated heartbeat classification. J. Med. Syst. 44(2), 1–9 (2019). https://doi.org/10.1007/s10916-019-1511-2

    Article  Google Scholar 

  3. Xu, X., Liu, H.: ECG heartbeat classification using convolutional neural networks. IEEE Access 8, 8614–8619 (2020). https://doi.org/10.1109/access.2020.2964749

    Article  Google Scholar 

  4. Shaker, A.M., Tantawi, M., Shedeed, H.A., Tolba, M.F.: Generalization of convolutional neural networks for ECG classification using generative adversarial networks. IEEE Access 8, 35592–35605 (2020). https://doi.org/10.1109/ACCESS.2020.2974712

    Article  Google Scholar 

  5. Anuar, N.N., et al.: Cardiovascular disease prediction from electrocardiogram by using machine learning. Int. J. Online Biomed. Eng. (iJOE) 16(07), 34 (2020). https://doi.org/10.3991/ijoe.v16i07.13569

    Article  Google Scholar 

  6. Wang, T., Lu, C., Sun, Y., Yang, M., Liu, C., Ou, C.: Automatic ECG classification using continuous wavelet transform and convolutional neural network. Entropy 23(1), 119 (2021). https://doi.org/10.3390/e23010119

    Article  Google Scholar 

  7. Hassan, S.U., Zahid, M.S.M., Abdullah, T.A., Husain, K.: Classification of cardiac arrhythmia using a convolutional neural network and bi-directional long short-term memory. Digit. Health 8, 205520762211027 (2022). https://doi.org/10.1177/20552076221102766

  8. Shoughi, A., Dowlatshahi, M.B.: A practical system based on CNN-BLSTM network for accurate classification of ECG heartbeats of MIT-BIH imbalanced dataset. In: 2021 26th International Computer Conference, Computer Society of Iran (CSICC), pp. 1–6 (2021). https://doi.org/10.1109/CSICC52343.2021.9420620

  9. Cui, J., Wang, L., He, X., Albuquerque, V.H.C.D., AlQahtani, S.A., Hassan, M.M.: Deep learning-based multidimensional feature fusion for classification of ECG arrhythmia. Neural Comput. Appl. (2021). https://doi.org/10.1007/s00521-021-06487-5

  10. Rafi, S.M., Akthar, S.: ECG classification using a hybrid deeplearning approach. In: 2021 International Conference on Artificial Intelligence and Smart Systems (ICAIS), pp. 302–305 (2021). https://doi.org/10.1109/ICAIS50930.2021.9395897

  11. Farag, M.M.: A tiny matched filter-based CNN for inter-patient ECG classification and arrhythmia detection at the edge. Sensors 23(3), 1365 (2023). https://doi.org/10.3390/s23031365

    Article  Google Scholar 

  12. Suhail, M.M., Razak, T.A.: Cardiac disease detection from ECG signal using discrete wavelet transform with machine learning method. Diabetes Res. Clin. Pract. 187, 109852 (2022). https://doi.org/10.1016/j.diabres.2022.109852

  13. Moody, G.B., Mark, R.G.: MIT-BIH arrhythmia database (1992). https://physionet.org/content/mitdb/

  14. Bousseljot, R.D., Kreiseler, D., Schnabel, A.: The PTB diagnostic ECG database (2004). https://physionet.org/content/ptbdb/

  15. Schmidhuber, J.: Deep learning in neural networks: an overview. Neural Netw. 61, 85–117 (2015). https://doi.org/10.1016/j.neunet.2014.09.003

    Article  Google Scholar 

  16. Kachuee, M., Fazeli, S., Sarrafzadeh, M.: ECG heartbeat classification: a deep transferable representation. In: 2018 IEEE International Conference on Healthcare Informatics (ICHI), pp. 443–444 (2018)

    Google Scholar 

  17. Liu, Y., Wang, P., Li, Y., Wen, L., Deng, X.: Air quality prediction models based on meteorological factors and real-time data of industrial waste gas. Sci. Rep. 12(1), 9253 (2022). https://doi.org/10.1038/s41598-022-13579-2

    Article  Google Scholar 

  18. Raju, V.N.G., Lakshmi, K.P., Jain, V.M., Kalidindi, A., Padma, V.: Study the influence of normalization/transformation process on the accuracy of supervised classification. In: 2020 Third International Conference on Smart Systems and Inventive Technology (ICSSIT), pp. 729–735 (2020)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Hai Thanh Nguyen or Phuong Ha Dang Bui .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Nguyen, H.T., Cao, A.H., Bui, P.H.D. (2023). Electrocardiogram-Based Heart Disease Classification with Machine Learning Techniques. In: Nguyen, N.T., et al. Advances in Computational Collective Intelligence. ICCCI 2023. Communications in Computer and Information Science, vol 1864. Springer, Cham. https://doi.org/10.1007/978-3-031-41774-0_54

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-41774-0_54

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-41773-3

  • Online ISBN: 978-3-031-41774-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics