Skip to main content

ORIGINAL RESEARCH article

Front. Digit. Health

Sec. Health Informatics

Volume 7 - 2025 | doi: 10.3389/fdgth.2025.1548448

A NOVEL TRANSFORMER-BASED APPROACH FOR CARDIOVASCULAR DISEASE DETECTION

Provisionally accepted
  • 1 Rare Sense Inc, Covina, United States
  • 2 University of Birmingham, Birmingham, United Kingdom

The final, formatted version of the article will be published soon.

    According to the world health organization (WHO), cardiovascular diseases (CVDs) accounts for approximately an estimated 17.9 million deaths annually. CVDs are referred to disorders of heart and blood vessels like Arrhythmia (ARR), Atrial Fibrillation (AFF), Congestive heart failure (CHF) and Normal Sinus Rhythm (NSR) etc. Early prediction of these diseases can significantly reduce the number of annual deaths. This study proposes a novel, efficient and low cost transformer-based algorithm for CVD classification. Initially, 56 features were extracted from electrocardiography (ECG) recordings using 1200 cardiac ailment records, with each of the four diseases represented by 300 records. Then, random forest has been used to select the 13 most prominent features. Finally, a novel transformer based algorithm has been developed to classify 4 classes of cardiovascular diseases. The proposed study achieved an accuracy, precision, recall, f1-score of 0.9979, 0.9959, 0.9958 and 0.9959, respectively. The proposed study outperformed all the existing state-of-the-art algorithms for CVDs classification.

    Keywords: electrocardiogram, Classification, random forest, Cardiovascular Diseases, transformers, Heart Diseases

    Received: 19 Dec 2024; Accepted: 19 Mar 2025.

    Copyright: © 2025 Noor, Bilal, Abbasi, Pournik and Arvanitis. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

    * Correspondence: Saadullah Farooq Abbasi, University of Birmingham, Birmingham, United Kingdom

    Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

    Research integrity at Frontiers

    Man ultramarathon runner in the mountains he trains at sunset

    94% of researchers rate our articles as excellent or good

    Learn more about the work of our research integrity team to safeguard the quality of each article we publish.


    Find out more