Optimal hyperdimensional representation for learning and cognitive computation | Synapse