Baijayanta Roy
1 min readFeb 12, 2020

--

I think one option could be to sort the variables and then concatenate to create a unique variable. After that, it can be used to convert to numbers using one of the methods that are most suitable as per the cheat sheet. You can then use map the same mapping in test data as well.

If there are too many variables, refer to the cheat sheet which has guidance on cardinality.

--

--

Baijayanta Roy
Baijayanta Roy

Written by Baijayanta Roy

Writes about Life, Natural and Artificial Intelligence

No responses yet