Predictable representations in humans and machines