Machine learning in detecting frequency-following responses