Engineering Proceedings (Oct 2023)
Brain Signals to Actions Using Machine Learning
Abstract
This research presents a machine learning model that predicts left, right, or no action using electroencephalography (EEG) signals extracted from two different wearable EEG headsets. The research aims to develop an accurate and efficient model by following a rigorous and effective process divided into two parts. In Part I, the constant features approach is employed, which involves data loading, feature extraction, preprocessing, model selection, and tuning the best model for optimal performance. The performance of classification algorithms (support vector machine (SVM), decision tree classifier, and random forest classifier) is evaluated using root-mean-squared error metrics. In Part II, the multivariate time series approach is utilized to improve the accuracy and robustness of the model. The approach involves data loading, preprocessing (such as normalizing the data), modeling, results analysis, and deployment preparation. A neural network architecture consisting of convolutional filters followed by a long short-term memory neural network (LSTM) is used in the proposed approach. The convolutional layer performs a convolution of an input series of feature maps with a filter matrix to extract high-level features. The LSTM network is specifically designed to capture long-term dependencies and overcome the issue of vanishing gradients. The proposed approach achieves an accuracy of 98% and can be used for real-time testing. The model can be utilized in various fields where accurate and real-time prediction of brain–computer interfaces (BCI) actions is crucial. Overall, the proposed approach provides a promising solution to the problem of action prediction using EEG signals, and further research can be conducted to explore its potential applications and optimize its performance.
Keywords