{'fraction_non_alphanumeric': 0.024606299212598427, 'fraction_numerical': 0.003937007874015748, 'mean_word_length': 4.947368421052632, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Bayesian Classification of Single-Trial Event-Related Potentials in EEG

We present a systematic and straightforward approach to the problem of single-trial classification of event-related potentials (ERP) in EEG. Instead of using a generic classifier off-the-shelf, like a neural network or support vector machine, our classifier design is guided by prior knowledge about the problem and statistical properties found in the data. In particular, we exploit the well-known fact that event-related drifts in EEG potentials, albeit hard to detect in a single trial, can well be observed if averaged over a sufficiently large number of trials. We propose to use the average signal and its variance as a generative model for each event class and use Bayes' decision rule for the classification of new and unlabeled data. The method is successfully applied to a data set from the NIPS*2001 Brain–Computer Interface post-workshop competition. Our result turned out to be competitive with the best result of the competition.