Skip to content

An AI model using various machine learning algorithms like KNN and SVM for detecting Left Bundle Branch Block (LBBB) in ECG signals.

License

Notifications You must be signed in to change notification settings

DSP-project-ECG/ECG-Classifier-for-LBBB-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECG Classifier for LBBB Detection

image

📃Table of Content

🚀Description

An AI model using various machine learning algorithms like KNN and SVM for detecting Left Bundle Branch Block (LBBB) in ECG signals. The project includes data preprocessing, feature extraction, model training, evaluation, and deployment through a GUI application.


⏳Our Progress

Data Preprocessing

The data preprocessing step involves:

  1. Removing noise from the ECG signals using a Butterworth bandpass filter.
  2. Normalizing the signals to a standard range to ensure consistent feature extraction.

Feature Extraction

Features are extracted from the preprocessed signals using wavelet transforms.
Statistical features such as:

  • Mean
  • Standard deviation
  • Skewness
  • Kurtosis
    are calculated from the wavelet coefficients.

Model Training and Evaluation

Various machine learning models are trained and evaluated on the extracted features, including:

  • K-Nearest Neighbors (KNN)
  • Support Vector Machine (SVM)
  • Random Forest
  • Decision Tree
  • Naive Bayes

The best model is selected based on accuracy and other evaluation metrics.


Deployment

The best-performing model (KNN) is deployed using a GUI application.
This application allows users to:

  • Input ECG signals
  • Receive a classification result: Normal or LBBB

{13FBAD89-C737-46B1-A3AE-C90534AFE065}


🔬Results

Model Name Train Accuracy Test Accuracy
K-Nearest Neighbors 99% 100%
Naive Bayes 100% 53%
Support Vector Machine (SVM) 100% 47%
Decision Tree 100% 35%
Random Forest 100% 35%

📸 Screenshots

LBBB detected

image

image

well Person

image

image

About

An AI model using various machine learning algorithms like KNN and SVM for detecting Left Bundle Branch Block (LBBB) in ECG signals.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •