A dynamical graph-based feature extraction approach to enhance mental task classification in brain-computer interfaces