nicodv / kmodes

Python implementations of the k-modes and k-prototypes clustering algorithms, for clustering categorical data
MIT License
1.23k stars 416 forks source link

k-prototype seems to focus on one continuous variable #164

Closed ori-katz100 closed 2 years ago

ori-katz100 commented 2 years ago

After working with the k-prototype algorithm, I created the attached pair-plot. It seems that every time I run the algorithm it "sticks" to one of the continuous variables, and the groups are determined according to this variable alone. It happens with different combinations of variables. Is it normal?

image

ori-katz100 commented 2 years ago

My mistake - i didn't normalize the variables correctly