Representation Learning and Pattern Recognition in Cognitive Biometrics: A Survey