This project utilizes advanced deep learning techniques to classify different types of epileptic seizures from EEG signals and their corresponding 2D image transformations. By employing a hybrid model of Convolutional Neural Networks (CNN) and Long Short-Term Memory networks (LSTM), it aims to improve the precision and accuracy of seizure classification.
To develop an automated and accurate system for classifying epileptic seizures using EEG signals and 2D images derived from these signals.
-
Data Collection
- Dataset: Temple University Hospital (TUH) EEG Corpus v1.5.2
- Contains EEG recordings of five distinct seizure types.
- Sampling frequency: 250 Hz; 23 channels.
-
Data Preprocessing
- Applied a Butterworth band-pass filter (0.5 Hz to 50 Hz).
- Segmented EEG signals into 10-second intervals with 50% overlap.
- Decomposed signals using Hilbert Vibration Decomposition (HVD).
-
Feature Extraction
- Converted high-energy subcomponents into 2D images using Continuous Wavelet Transform (CWT).
-
Model Design
- Built a hybrid deep learning model integrating CNN for spatial feature extraction and LSTM for temporal feature analysis.
- Optimized using t-SNE for dimensionality reduction.
-
Model Training & Evaluation
- Achieved an accuracy of 99.09% and a weighted F1-score of 99.01%.
-
Performance Metrics
- Evaluated using accuracy, sensitivity, specificity, and ROC analysis.
- Language: Python 3.10.12
- Libraries: NumPy, SciPy, Matplotlib, Pandas, Pywt
- Platform: Google Colaboratory
- Dataset: TUH EEG Corpus v1.5.2
- Documentation and Tutorials:
- Clone the repository.
- Preprocess EEG signals as described in the report.
- Train the model using the provided dataset and architecture.
- Evaluate the model's performance on unseen data.