| Algorithm 1 A pseudo-code for extracting features and classifying the target and non-target. |
| Algorithm Feature Extraction and Classification |
| Inputs: ERP Dataset |
| Outputs: SVM model or target stimulus T |
| Step1: Amplitude values from 150 to 600 ms after the stimulus onset in the ERP dataset were picked. Step2: Concatenate Picked samples for every electrode resulting in input data , where Step3: If training session, train linear SVM with input and corresponding labels, and return SVM model, Else, implement SVM classification with input and return target stimulus given by Equation (2). |