Reveal k-modes cluster features

前端 未结 1 1868
傲寒
傲寒 2021-02-02 03:52

I\'m performing a cluster analysis on categorical data, hence using k-modes approach.

My data is shaped as a preference survey: How do you like hair and eyes?

<

1条回答
  •  再見小時候
    2021-02-02 04:38

    Take a look at km.cluster_centroids_. This will give the mode of each variable for each cluster.

    0 讨论(0)
提交回复
热议问题