BookmarkSubscribeRSS Feed
carol_kvarg
Calcite | Level 5

hi,

I'm looking for a method to perform k-means clustering with the use of SAS enterprise miner. however, it seems to me that I can perform only hierarchical clustering, according to this post I can perform only hierarchical analogue for k-means clustering. 

I would be grateful for advice and resources on how to perform the k-means clustering in SAS enterprise miner.


1 REPLY 1
sbxkoenk
SAS Super FREQ

Hello,

 

The Cluster node in Enterprise Miner (latest version is 15.2) IS DOING k-means clustering!!

Hierarchical clustering is just an intermediate step to determine the best number of clusters.

 

This is how the CLUSTER node (in the Explore Group) works ... when you do not change the defaults :

  1. k-means is done with k=50 (preliminary maximum)
  2. Then the 50 multivariate mean vectors are clustered with WARD (agglomerative) hierarchical clustering method
  3. Then the best number of clusters is determined (minimum=2 , final maximum=20). Let's say best = 8 !
  4. Then a k-means is done again on the full dataset with k=8.

You can also use the "HP Cluster" node in the HPDM group of nodes (HPDM = High-Performance Data Mining).

The "HP Cluster" node is running PROC HPCLUS in the background. The HPCLUS procedure is a high-performance procedure that performs k-means clustering.
And that "HP Cluster" node (PROC HPCLUS) is finding the number of clusters (the k) using the aligned box criterion (ABC) method (and NOT via that foray into hierarchical clustering).

In VIYA PROC HPCLUS evolved into PROC KCLUS.

 

Good luck,

Koen

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 763 views
  • 2 likes
  • 2 in conversation