%A Malafeev,Alexander %A Laptev,Dmitry %A Bauer,Stefan %A Omlin,Ximena %A Wierzbicka,Aleksandra %A Wichniak,Adam %A Jernajczyk,Wojciech %A Riener,Robert %A Buhmann,Joachim %A Achermann,Peter %D 2018 %J Frontiers in Neuroscience %C %F %G English %K deep learning,machine learning,Sleep,EEG,Automatic scoring %Q %R 10.3389/fnins.2018.00781 %W %L %M %P %7 %8 2018-November-06 %9 Original Research %# %! Automatic human sleep stage scoring using Deep Neural Networks %* %< %T Automatic Human Sleep Stage Scoring Using Deep Neural Networks %U https://www.frontiersin.org/articles/10.3389/fnins.2018.00781 %V 12 %0 JOURNAL ARTICLE %@ 1662-453X %X The classification of sleep stages is the first and an important step in the quantitative analysis of polysomnographic recordings. Sleep stage scoring relies heavily on visual pattern recognition by a human expert and is time consuming and subjective. Thus, there is a need for automatic classification. In this work we developed machine learning algorithms for sleep classification: random forest (RF) classification based on features and artificial neural networks (ANNs) working both with features and raw data. We tested our methods in healthy subjects and in patients. Most algorithms yielded good results comparable to human interrater agreement. Our study revealed that deep neural networks (DNNs) working with raw data performed better than feature-based methods. We also demonstrated that taking the local temporal structure of sleep into account a priori is important. Our results demonstrate the utility of neural network architectures for the classification of sleep.