One Hot Encoding Vs Reference Encoduing