MATLAB code to cluster categorical data
7 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I am new to MATLAB programming. I want to cluster my categorical data. I have six columns which five of which are non-numeric data, and one column is numeric data as follows:
- Market (non-numeric data)
- Vet Drug (non-numeric data)
- Published Commodity (non-numeric data)
- Index Commodity Group (non-numeric data)
- Index Commodity (non-numeric data)
- MRL Amount (ppb) (numeric data)
There are 1545 data (number of rows). I am attaching part of the data here. Is there any suggestion or recommendation for the best and appropriate method to cluster my categorical data so that we get useful information by looking at the results and plots? Any help would be appreciated.
Thanks,
2 个评论
Mahesh Taparia
2021-2-25
Hi
Do you have the associated labels of your data? If not, do you know the number of categories the dataset have?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Categorical Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!