A comparative study of machine learning algorithms for physiological signal classification