Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
"K-Means clustering"
User13
Hello Everyone,
I wanted to ask what is the best distance measure to use when we have a mix of numeric and categorical attributes?
Any help would be appreciated.
Thank You
Find more posts tagged with
AI Studio
Clustering
Accepted answers
All comments
User13
Hello,
this answer to this question depends on the type of data you want to use. Let's assume you go for the mixed measure. In this case the distance between nominal values is set to 0 for equal strings and set to 1 for all other combinations. For numerical values euclidean distance is computed. Please note that you should always normalize and select proper attributes first. This ensure that all numbers share the same scale and id-like attributes are removed. If you want to choose a numerical measure you need to transform nominal values to numerical ones first. The method of choice for this is highly depended on the attribute's content.
Cheers,
Helge
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups