Closed chenjw505 closed 3 years ago
why the field use label encode? not one-hot encode?
Matrix multiplication with one-hot encoding is equivalent to embedding lookup with label encoding. The latter is faster and saves memory, so we do it that way.
why the field use label encode? not one-hot encode?