motor impairment; rehabilitation; electroencephalogram; machine learning; Common Spatial Pattern; Medium K Nearest Neighbour