K-mode clustering algorithm to cluster categorical data?
20 views (last 30 days)
Show older comments
Has anyone come across k-mode script in the Matlabsphere? I've seen people respond with links to supervised learning algos, but I need unsupervised. Even a pseudo code would be okay, so I can build it.
I'm using R2017b.
Really trying to avoid using R..
0 Comments
Answers (1)
Image Analyst
on 11 Aug 2018
I can't imagine why you'd use kmeans with categorical data. If it's categorical you can simply just use the category to classify the data point, right?
4 Comments
Image Analyst
on 12 Aug 2018
I'm not an expert on questionnaires, though we have many statisticians in our company who spend their whole lives doing that. I'd suggest you try the Classification Learner app, and pick the best one. Check out this page https://www.mathworks.com/help/stats/machine-learning-in-matlab.html. You have unsupervised learning because you have data but no ground truth - you don't know the classes/groupings of any of them in advance.
See Also
Categories
Find more on Gaussian Process Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!