A new machine-learning algorithm is more accurate at determining personality traits based on selfie photographs than humans are.