label encoding
Map each value of the discrete-valued feature into a natural number, i.e.
| name | favorite color | height | net worth |
| james | red | 1.7 | 5000 |
| josh | blue | 1.8 | 4000 |
(red -> 1, blue ->2)
| name | favorite color | height | net worth |
| james | 1 | 1.7 | 5000 |
| josh | 2 | 1.8 | 4000 |