Researchers test machine learning algorithms to determine the metal workload and affective states of the human brain.