The study of binary classifiers based on different mathematical approaches when performing tasks of recognizing motor images in an asynchronous brain-computer interface
Currently, many attempts are being made to create an asynchronous brain-computer interface that could recognize motor patterns with high accuracy. However, in practice, achieving recognition accuracy of even more than 60 % online is a difficult task. Especially when using portable equipment. In this paper, an attempt is made to create a portable small-sized asynchronous brain-computer interface designed for real-time recognition of motor imagery with a binary classification accuracy of at least 65 %. To achieve this goal, a mock-up of equipment was created that transmits online recorded electroencephalographic signals to a personal computer via a Wi-Fi radio channel. The standalone model of the equipment is placed on a portable neural headset with resistive-capacitive electrodes of the “dry” type. The paper considers the theoretical aspects of the approaches used. A block diagram of a software system implementing motor imagery recognition is presented. The results of the experimental application of the proposed system are analyzed. Software has been developed in Python for signal preprocessing, feature extraction, and classification. As part of the work, several classifiers based on different mathematical approaches were studied: linear discriminant analysis (LDA), multilayer perceptron, convolutional neural network, which is a repeating part of the architecture that consists of a set of different layers (ResNet). The architecture of the network consisting of eighteen layers has been developed. Optimization methods of the first and second orders were also investigated. The evaluation of the influence of optimization algorithms on the work of neural network classifiers was carried out using the metrics Accuracy, Precision, Recall and F1 measure. In total, four optimization algorithms were studied: the adaptive impulse optimization algorithm (ADAM), the Levenberg-Marquardt algorithm (LM), the stochastic gradient descent algorithm (SGD), and the Broyden-Fletcher-Goldfarb-Shanno algorithm (BFGS). The modernization of the Levenberg-Marquardt algorithm is proposed in relation to the tasks of classifying motor imagery. The highest classification accuracy (Accuracy metric) of motor imagery was achieved using a classifier based on ResNet and the ADAM optimization algorithm. The classification accuracy in offline mode was 68.31 % (Accuracy metric) and 68.80 % (Recall metric), while in online mode it was 65.92 % and 66.20 %, respectively.