when we have both categorical and numerical attributes in our data, it is said we can convert our categorical attributes to numerical by using some methods like binary variables. my question is should we convert ALL attributes to binary? for example we have 2 categorical and 3 numerical. should I convert all 5 attributes to binary?
I need to compute a distance between instances, (like euclidean distance) but I think comparing the distance between a binary variable and an attribute with a big number like salary = 20000 is meaningless. so for this example should I convert the salary to binary variables?