BookmarkSubscribeRSS Feed
Hue
Fluorite | Level 6 Hue
Fluorite | Level 6

Dear all,

 

I am making Customer segmentation. My data included numeric data (4 variables) and categories data (7 variables).

I used clustering method to classified customer.

If I transfer categories data to dummy and then use K-Means algorithms for new data, It make falsifying clustering result or not?

Could you advice to me the way that I can use to cluster for both Numeric and Categories data on SAS?

 

Thanks for your help!

Hue

 

3 REPLIES 3
Ksharp
Super User

If you mixed up numeric and character variable , Check Generalized Logits Model (a multinomial model ).

abuanuazu
Fluorite | Level 6
Thank you for your solution to the problem.
ilknurkabul
SAS Employee

Clustering methods in EM convert nominal variables into dummy variables. There are different encoding techniques available in the cluster node.  You can try those options and check the compactness of clusters.  If you are using procs, you can also try PROC CLUSTER by using distance/similarity measures (such as jaccard). 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1518 views
  • 2 likes
  • 4 in conversation