In the first project, we propose a Bayesian generative model to fit the probability distribution of multi-trial EEG signals in the BCI system. Existing machine learning methods focus on constructing the ERP classifiers, but they pay less attention to interpreting brain activity due to the overlap between adjacent EEG signal segments during the signal pre-processing procedure; our model explicitly addresses this challenge by developing a new Gaussian Process (GP)-based model to estimate the spatial-temporal varying trajectories of P300 ERP responses. The proposed model can select important time windows in which the average brain activity in response to the target and non-target stimuli is different (split) or the same (merge); thus, The GP i...