I m looking how to preserve Euclidean distance with categorical attribute.
Ad example, if I have a dataset with attribute of people, Age, weight etc..and i find a attribute "sex" where contain "female" ad "male" for gender, how can i do for analysis?
I seen that i can trasform in 0 and 1, but for me dont have more sense. Why i can't choose 10 and 20 like number for male and female? I Wish that this value in my analysis take a sense.
Sameone have to suggest or explain a great tecnique?