Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

EEG Detection using CNN-LSTM Hybrid Model

This repository contains a Python script for preprocessing EEG data for seizure detection using EDF files.

Prerequisites

Ensure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/EEG-Detection-CNN-LSTM.git
    cd EEG-Detection-CNN-LSTM/scripts
  2. Install required dependencies:

    pip install -r requirements.txt
  3. Move to scripts folder in terminal:

    cd scripts

Usage

Preprocess Data

python preprocess.py

Train Model

python train.py

Evaluate Model

python evaluate.py

Folder Structure

Project/
├──  data/                      # Raw EEG data files (not included in the repository)
│   ├── chb01/                  # Patient 1
│   ├── chb02/                  # Patient 2
│   └── ...                    
├── processed_data/             # Preprocessed features and labels (automatically generated)
│    ├── features.npy 
│    └── labels.npy              
├── model/                       # Saved trained models
│    └── model.h5  
├── scripts/
│    ├── preprocess.py/         # Data preprocessing script
│    ├── train.py/              # Training script
│    └── evaluate.py/           # Evaluation script  
└── requirements.txt            # Project requirements

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages