Skip to content
/ ECG_XAi Public

A novel clinician-in-the-loop, prompt-based Explainable Artificial Intelligence (XAI) tool developed for the interpretation of electrocardiogram (ECG) signals. The tool integrates multiple Deep Learning (DL) models with different XAI techniques to offer both accuracy and transparency in diagnosing cardiac abnormalities.

Notifications You must be signed in to change notification settings

TejoVK/ECG_XAi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CURENET: Cardiac Health Diagnostic Tool

Overview

This repository contains code and documentation for a novel clinician-in-the-loop, prompt-based Explainable Artificial Intelligence (XAI) tool developed for the interpretation of electrocardiogram (ECG) signals. The tool integrates multiple Deep Learning (DL) models with different XAI techniques to offer both accuracy and transparency in diagnosing cardiac abnormalities.

Features

  • Deep Learning Models: Trained on a comprehensive ECG dataset, our DL models achieve high precision in detecting cardiac abnormalities.
  • Explainable AI Techniques: Integrated Gradients, Layer-wise Relevance Propagation (LRP), and DeepLift are employed to generate heatmaps, enhancing interpretability by highlighting decision-making regions within ECG signals.
  • Clinician-in-the-Loop Approach: Our tool involves chatbots in the diagnostic process, providing prompt-based explanations for model decisions, and ensuring human expertise is utilized effectively.
  • Chatbot Integration: A pre-trained language model and an innovative image retrieval feature power a chatbot, offering an intelligent conversational agent for medical inquiries related to cardiac health.

Installation

  1. Clone the repository:
   git clone https://github.com/TejoVK/ECG_XAi.git
  1. Install dependencies:
    pip install -r requirements.txt

Usage

  1. Navigate to the ge_final directory.

  2. Run the main script:

   python finalcode.py
  1. You can use the sample data in the test dir to input ECG data for analysis.
  2. View the generated heatmaps and diagnostic results.
  3. Engage with the chatbot for additional inquiries.

Streamlit Deployment

Our project is deployed on Streamlit and can be accessed via the following link:

Streamlit Deployment

Paper Publication

Our project has been published in IEEE. The paper can be accessed on IEEE Xplore via the following link:

IEEE Xplore

Alternatively, an openly available version of the paper can be found on ResearchGate:

ResearchGate

About

A novel clinician-in-the-loop, prompt-based Explainable Artificial Intelligence (XAI) tool developed for the interpretation of electrocardiogram (ECG) signals. The tool integrates multiple Deep Learning (DL) models with different XAI techniques to offer both accuracy and transparency in diagnosing cardiac abnormalities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages