Challenges in Representation Learning: A report on three machine learning contests