This project develops a machine learning model to predict whether a person’s eyes are open or closed based on EEG (electroencephalography) signals recorded from 14 different brain regions.
- Process EEG data to extract meaningful insights.
- Compare multiple machine learning models to determine the best classifier.
- Evaluate performance using accuracy and other relevant metrics.
📌 Dataset: Includes 14 EEG features with a manually labeled eye state ('0' for open, '1' for closed).
- Standardization: Used
StandardScaler
to normalize EEG signals for better model performance. - Train-Test Split: Split dataset into 80% training and 20% testing for fair model evaluation.
- Class Balance Check: Verified that the dataset was relatively balanced (~55% closed, ~45% open).
- Insights: Struggled to capture complex EEG patterns due to its linear nature.
- Performance: Limited effectiveness in distinguishing between eye states.
- Insights: Demonstrated strong predictive accuracy with EEG data.
- Performance Metrics:
- Accuracy: High classification accuracy.
- Feature Importance: Certain EEG channels were more influential in predicting eye state.
- Potential improvement using deep learning models such as LSTMs or CNNs for EEG signal classification.
- Python
- Pandas & NumPy (Data manipulation & preprocessing)
- Scikit-learn (Machine learning models)
- Matplotlib & Seaborn (Data visualization)
- Clone this repository:
git clone https://github.com/YOUR_USERNAME/eeg-neuroheadset.git
- Install dependencies: bash - pip install pandas numpy scikit-learn matplotlib seaborn
- Open and run the Jupyter Notebook to explore the analysis.
This project is open-source and available under the MIT License.