Unsupervised clustering of categorical data

9 次查看(过去 30 天)
Hi everyone,
I wanted to cluster a time serie dataset which has 30 timepoints and more than 50'000 rows. The dataset is categorical (from 1 to 6) which represent different categories.
The problem with my current clustergram method using the euclidian distance metrics, is that it will cluster the category 5 closer to 6. I don't want that, those categories are not somehow related. How is it possible to remove this bias in the clustering?
Hope my question is clear, thanks for your further help!
  2 个评论
Image Analyst
Image Analyst 2021-11-23
Could be clearer if you attached a .mat file with your table, as many rows as will fit into 5 MB (attachment size limit).

请先登录,再进行评论。

回答(1 个)

Pratyush Roy
Pratyush Roy 2021-12-1
Hi Daniel,
The link here might be helpful for clustering categorical or non-numeric data.
Hope this helps!

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by