The relationship between humans and computer is one of the research fields in which many investments have been made in recent years. Over the past two decades, various human-computer-interfaces have been designed that utilized audition, vision, somatosensation or a combination of them. Serious efforts have been made since the past decade to relate the computer to the environment based on analysis of brain electrical signals. The main purpose of these systems is to help people with corticospinal damages. Despite of having healthy brains, these people are usually not able to move or build a normal and natural relationship with their surrounding environment. Recent advances in neuroscience, physiology, signal analysis, machine learning, and hardware have made it possible to design direct brain-computer communication systems, known as brain-computer-interfaces (BCI), which enable the physically disabled patients to do their affairs without the help of others. In general, a brain-computer interface is a system that allows people with disabilities to operate electrical devices like a computer pointer, a robotic arm, or even a cellular phone with their mind. Regarding its implementation, a BCI system evaluates the specific features of the brain activity, and accordingly translates them into the signals related to device control. The input signals may be electromagnetic [
1], infrared spectroscopy [
2‐
7], magnetic resonance imaging [
8,
9], electro-echography [
10] and EEG signal [
11,
12]. Among these techniques, the EEG signal is used more widely due to its simplicity, low cost, non-invasiveness and ability to register and analyze the data.
A BCI program specifies appropriate physical or mental tasks and selects electrodes related to these tasks. It extracts features of signal recording by means of these electrodes, and ultimately produces an algorithm with the highest classifiers. Then, it the information is transferred to communication and control units through implementing the algorithms to translation. Developing a quick and precise classification method is a key subject for communication and control over the EEG signal. Computer cursor control is one of the most useful applications of BCI. The first studies on the cursor control based on EEG signal were focused on one-dimensional control of cursor [
13,
14]. After obtaining satisfactory results, the attention of researchers was drawn to the multi-dimensional cursor control with the aim of increasing the relationship between the user and machine. Based on the studies, the multi-dimensional cursor can be controlled by implementing different brain signals, for example the P300 potential [
15,
16], synchronous and asynchronous signals [
17] and evoked potentials [
18,
19]. They showed well that the input signals of an EEG-based brain-computer-interface system have commonly weak, non-constant and mind tasks-related noises with various artifacts such as external electromagnetic waves and electromyogram and electro-echogram waves. All of these defects were considered by researchers to improve the key features of BCI system function including the classifier velocity and precision. In addition to improving the functional features, the operational and realistic construction of the EEG-based BCI systems was another major challenge from the viewpoint of researchers. It highly relies on using a training process, which is based on a small number of training signals, classifying channel algorithms and features which can represent the studies tasks better. The proper input design, features extraction and appropriate classification of a BCI system has been undertaken over the past 20 years. Various features of the EEG signal serve as inputs for a BCI, such as the Mu band (8–12 HZ) and beta band (18–25 HZ) [
20], event-related potential such as P300 [
21,
22], steady-state visual-evoked response or the surface slow cortical potential (SPCs) [
23,
24], and several feature extraction methods for motor imagery data as input signals, including AR parameter [
25] estimation in a specific frequency band [
20,
26], domain of slow cortical potential [
27], common spatial pattern, event-related synchronization (ERD / ERS), wavelet correlation coefficient [
28], and spatial pattern spectrum [
29]. Many of the classifier algorithms, such as K-nearest Neighberhood (KNN), Linear Discriminate Analysis (LDA) [
30], hidden Markov model [
31], Neural Networks [
32,
33], Multilayer Perceptron, and Mahalanobis Distance (MDA) [
34,
35] were tested for BCI programs. The feature extraction and classifier algorithm has been investigated in BCI applications [
36]. Since 2001, several BCI competitions have been organized for improved target assessment and comparison of methods for EEG data derived from mental tasks and also addressing of key issues in BCI research, and significant results have been reported for BCI data. Currently, BCI technology lacks desirable speed and precision, and these are two important variables affecting current attempts to address issues related to the creation of real BCI systems in the future.To this aim, the classifier can discriminate between the EEG signals recorded in different sessions and days with the mental tasks belong to the BCI system. It should also be borne in mind that BCI systems have the potential to help people of all ages with severe mobility impairments. Although some studies on the BCI performance in older people didn’t yield good results due to poor rate of data transfer, .In the BCI competitions, [
25] obtained a classifier precision of 88.7 % with a linear classifier using gamma band power (Channel 4) and SCPs (Channel 1) [
36]. Then, by selecting a neural network as classifier, the classifier accuracy was enhanced to 91.47 %. In addition, [
21,
30] by extracting features of 6 channels and using wavelet transform algorithm, they obtained a classifier accuracy of 90.8 % by the neural network. [
30,
37] used principal component analysis (PCA) in 6 channels and their spectral properties, reporting an accuracy of 90.44 %. Trejo et al. [
38] showed that people of various ages can benefit from this technology. It has also been observed in recent studies that the combination of EEG and EMG signals in BCI systems can be used for several activities in cases of mobility impairments. They believed that users would be able to understand how to interact with such interactive systems [
39]. Although these methods have desirable classifier accuracy, according to complete training data, they were capable of using more than one electrode and complex vectors. Therefore, they are complex, low portable and in need of extensive training and computational time. Their results not only revealed the accuracy of diagnosis, but also significantly reduced the calculation time for training due to the reduced feature space. However, the drawback of these methods is that they used training accuracy as a criterion for the evaluation of different combinations of features. In fact, different subsets of features were trained for creating the optimal subset with the best accuracy for diagnosis, although it was ineffective. The objective of this study is to classify the EEG signal in the BCI systems using data mining technique. As we know, data mining plays a significant role in extraction of hidden information or patterns and relationships in a large amount of data. Feature extraction and selection are very important in data mining. In addition, an increase occurs in the computational time when the number of descriptive features increases. To deal with the large number of features in the present study, a method for recognizing the pattern and extracting the essential information for detection of the cursor movement has been studied. The present study aimed to find a method for the input motion efficently and efficently by implementing the data mining technique. This is done using the hybrid K-means clustering method and the linear support vector machine (LSVM) classifier [
40] for detecting the upward, downward, leftward and rightward motion.
This study proposes a simple and straightforward algorithmic method to improve the classification of BCI data. A smaller number of features reduces the computational times. Although the speed comparison with other studies cannot be made objectively since they did not report any results on the training times or the testing times. The curser movements pattern recognition suggests a new way on how to determine features for the the up- and downward and left- and rightward movements. The K-LSVM reduces the input features space dimensions and reconstructs the format of the features to optimize the classifier. So the training time has been reduced and the accuracy is improved. Because the noisy information has been eliminated.