Epilepsy, a pervasive neurological disorder marked by unpredictable seizures, poses profound challenges for affected individuals, impacting their daily lives and overall well-being. Identifying seizures ahead of time is paramount for individuals coping with epilepsy to maintain a sense of control over their health. Through this project, we delve into cutting-edge technology to enhance seizure prediction methodologies. By fine-tuning these approaches, our objective is to furnish more precise and dependable forecasts, thereby empowering swift responses that mitigate the disruptive repercussions of seizures.
S. No | Name |
---|---|
1 | B. Gowthami |
2 | R. G. S. Sai Vanaja |
3 | P. Mounika |
- Project Description
- System Architecture
- Dataset
- Feature Extraction and Selection
- Model Training
- Web Application
- Installation and Usage
- Results
- Future Work
Our project capitalizes on the intricacies of scalp EEG signals, integrating deep learning models, such as Convolutional Neural Networks (CNNs) and Long Short-Term Memory (LSTM), to automatically learn and extract features from EEG signals. By combining these features with ensemble learning methods (SVM, Random Forests, and XGBoost), we create a sophisticated predictive model. Unlike traditional approaches, our system seeks to transcend the limitations of individual models by combining the strengths of diverse algorithms through a majority voting strategy.
We utilized the preprocessed CHB-MIT scalp EEG database. The dataset is balanced and available from IEEE DataPort.
-
Feature Extraction:
- Time-Domain Features
- Frequency-Domain Features
- Time-Frequency Domain Features
-
Feature Selection:
- Methods applied to select the most relevant features for the prediction task.
Ensemble learning techniques were employed to combine multiple classifiers for improved performance:
- Support Vector Machine (SVM)
- Random Forests (RF)
- XGBoost
The final prediction is made using a majority voting strategy.
We developed a web application using Streamlit. Users can input EEG readings, and after clicking the "Predict" button, the application provides an output:
- If a seizure is predicted: "A seizure is going to occur in a few minutes. Take necessary precautions!!"
- If no seizure is predicted: "No seizure is going to occur. Keep calm and carry on!"
To run the project locally:
- Clone the repository:
git clone https://github.com/nikhilarokkam/EEG-BASED-EPILEPTIC-SEIZURE-PREDICTION-USING-ENSEMBLE-LEARNING.git cd EEG-Based-Epileptic-Seizure-Prediction
- Install the required packages:
pip install scikit-learn pip install streamlit
- Run the Streamlit application:
streamlit run main.py
Through rigorous training, validation, and testing, the developed model seeks to enhance the accuracy, specificity, and sensitivity of seizure prediction. Detailed results and performance metrics are documented in the results section of our project book. Here are the key performance metrics:
- Accuracy: 94%
- Specificity: 97%
Future improvements could include:
- Enhancing the model's performance with larger datasets.
- Developing a mobile application for real-time seizure prediction.