GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Ahmed-Hajhamed/CTG-Heart-Failure-Detection: Detect potential signs of heart failure in fetuses' CTG signals. It leverages advanced signal processing and machine learning algorithms to analyze fetal heart rate (FHR) and uterine contraction (UC) data, identifying normal, suspect, and pathological conditions.

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
__pycache__
__pycache__
 
 
cardiotocography-dataset
cardiotocography-dataset
 
 
ob-1-fetal-ecg-database-1.0.0
ob-1-fetal-ecg-database-1.0.0
 
 
ExtractData.py
ExtractData.py
 
 
FeatureExtraction.py
FeatureExtraction.py
 
 
PreProcessing.py
PreProcessing.py
 
 
README.md
README.md
 
 
fetal_health.csv
fetal_health.csv
 
 
fetal_health_original.csv
fetal_health_original.csv
 
 
first_ten_parameters.py
first_ten_parameters.py
 
 
main.py
main.py
 
 
model.py
model.py
 
 
model_final.py
model_final.py
 
 
ui.py
ui.py
 
 

Repository files navigation

CTG-Heart-Failure-Detection

Overview

This application uses Cardiotocography (CTG) data to detect potential signs of heart failure in fetuses. It leverages advanced signal processing and machine learning algorithms to analyze fetal heart rate (FHR) and uterine contraction (UC) data, identifying normal, suspect, and pathological conditions.

Features

  • Data Loading: Supports .dat and .hea CTG file formats.
  • Preprocessing: Cleans and normalizes data for analysis.
  • Feature Extraction: Derives critical features such as:
    • Baseline FHR and variability.
    • Accelerations and decelerations.
    • Uterine contraction intensity and frequency.
    • FHR response to uterine contractions.
  • Classification: Uses machine learning to classify data into:
    • Normal
    • Suspect
    • Pathological
  • Interactive Visualization: Displays CTG signals and feature distributions.
  • Report Generation: Summarizes results in a user-friendly format.

Installation

Prerequisites

  • Python 3.8+
  • Required libraries:
    pip install wfdb numpy pandas scikit-learn matplotlib seaborn

Steps

  1. Clone the repository:
    https://github.com/Ahmed-Hajhamed/CTG-Heart-Failure-Detection
  2. Navigate to the project directory:
    cd CTG-Heart-Failure-Detection
  3. Run the application:
    python main.py

Usage

  1. Place .dat and .hea files in the /data folder.
  2. Launch the application and select the files for analysis.
  3. View the extracted features and classification results.
  4. Export results as a report if needed.

Dataset

We used publicly available CTG datasets from PhysioNet and other sources. Ensure compliance with dataset licensing when using this application for research or commercial purposes.

Algorithms

Preprocessing

  • Signal normalization to handle variations in amplitude.
  • Noise filtering using Butterworth filters.

Feature Extraction

  • Statistical features: mean, standard deviation, min/max, etc.
  • Temporal features: duration of accelerations/decelerations.
  • Interaction analysis: correlation between FHR and UC.

Classification

  • Random Forest classifier with hyperparameter tuning using Bayesian optimization.

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature/bug fix.
  3. Submit a pull request with a detailed description.

License

This project is licensed under the MIT License.

Acknowledgments

  • PhysioNet for providing CTG datasets.
  • Contributors and community support for development and testing.

Contact

For questions or feedback, please email [email protected].

About

Detect potential signs of heart failure in fetuses' CTG signals. It leverages advanced signal processing and machine learning algorithms to analyze fetal heart rate (FHR) and uterine contraction (UC) data, identifying normal, suspect, and pathological conditions.

Topics

ctgmachine-learning

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.