A machine learning algorithm for classification of mental tasks. (April 2022)