Application of Machine Learning to Sleep Stage Classification