Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

Clustering in SAS Enterprise Miner

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 8
Accepted Solution

Clustering in SAS Enterprise Miner

Hello,

 

is it possible to run a canonical discriminant analysis in SAS ENTERPRISE 13.2 ? I want to visualize clustering group in SAS EMINER... how i can do this ?

 What is the difference between Cluster Node and HP Cluster node ? can i run a k-means clustering with Cluster node ?


Accepted Solutions
Solution
‎07-10-2017 11:52 AM
Contributor
Posts: 42

Re: Clustering in SAS Enterprise Miner

In cluster node, when you choose automatic option.

This is explanation in details from cluster node's help in sas E-Miner.

 

  • The Automatic setting (default) configures SAS Enterprise Miner to automatically determine the optimum number of clusters to create.
    • When the Automatic setting is selected, the value in the Maximum Number of Clusters property in the Number of Clusters section is not used to set the maximum number of clusters. Instead, SAS Enterprise Miner first makes a preliminary clustering pass, beginning with the number of clusters that is specified as the Preliminary Maximum value in the Selection Criterion properties.

      After the preliminary pass completes, the multivariate means of the clusters are used as inputs for a second pass that uses agglomerative, hierarchical algorithms to combine and reduce the number of clusters. Then, the smallest number of clusters that meets all four of the following criteria is selected.

 

I hope this what do you want.

Thanks

View solution in original post


All Replies
SAS Super FREQ
Posts: 272

Re: Clustering in SAS Enterprise Miner

The Cluster node performs hierarchical clustering using PROC CLUSTER (see the SAS/STAT documentation for more details on that procedure), while the HP Cluster node performs k-means clustering.  Here is a helpful tip that can provide you more information on that:

https://communities.sas.com/t5/SAS-Communities-Library/Tip-K-means-clustering-in-SAS-comparing-PROC-...

 

Hope that helps!

Wendy

Occasional Contributor
Posts: 8

Re: Clustering in SAS Enterprise Miner

Thanks...but it is written on sas Eminer Reference Help that the Cluster node performs a clustering with seed. I do not see where it is written that the node performs a hierarchical clustering and in addition, the results of that node don't see like the results of proc cluster in SAS/STAT. also a questionSmiley Tongueerforms this node always a hierarchical clustering when we select User-specified setting in Specification Method ?

Occasional Contributor
Posts: 8

Re: Clustering in SAS Enterprise Miner

https://communities.sas.com/t5/SAS-Communities-Library/Tip-Guidelines-for-Choosing-a-Clustering-Meth...

 

in this article, the autor said at the conclusion: "After the number of clusters is determined, the clusters are obtained using a k-means algorithm."     I am confused 

SAS Super FREQ
Posts: 272

Re: Clustering in SAS Enterprise Miner

Sorry, I was incorrect about the hierarchical clustering above.  The Cluster node performs k-means clustering.  The optimum number of clusters when using the Automatic setting is first determined making a preliminary cluster pass then k-means is performed with that number of clusters.  

Occasional Contributor
Posts: 8

Re: Clustering in SAS Enterprise Miner

Ok... and which node performs a hierarchical clustering ?

Solution
‎07-10-2017 11:52 AM
Contributor
Posts: 42

Re: Clustering in SAS Enterprise Miner

In cluster node, when you choose automatic option.

This is explanation in details from cluster node's help in sas E-Miner.

 

  • The Automatic setting (default) configures SAS Enterprise Miner to automatically determine the optimum number of clusters to create.
    • When the Automatic setting is selected, the value in the Maximum Number of Clusters property in the Number of Clusters section is not used to set the maximum number of clusters. Instead, SAS Enterprise Miner first makes a preliminary clustering pass, beginning with the number of clusters that is specified as the Preliminary Maximum value in the Selection Criterion properties.

      After the preliminary pass completes, the multivariate means of the clusters are used as inputs for a second pass that uses agglomerative, hierarchical algorithms to combine and reduce the number of clusters. Then, the smallest number of clusters that meets all four of the following criteria is selected.

 

I hope this what do you want.

Thanks

Occasional Contributor
Posts: 8

Re: Clustering in SAS Enterprise Miner

thanks... but which clustering methods is performing after the number of cluster is selected ?

I have a project: i must performing a hierarchical clustering in SAS EMINER, but i don't find the node that do this...

SAS Employee
Posts: 121

Re: Clustering in SAS Enterprise Miner

[ Edited ]

Noelblanc, 

 

SAS Enterprise Miner was designed for data mining (extremely large) data sets for which many classical analytical approaches (including hierarchical clustering) are often not practical.  There is therefore no node that automatically performs hierarchical clustering.   The cluster node itself identifies n seeds using the FASTCLUS procedure based on the maximum number of clusters requested and then hierarchically clusters those seeds themselves to identify the number of clusters based on the criterion selected in the node.  It then runs FASTCLUS with the chosen number of clusters to create the output.  

If you wish to visualize clusters in SAS Enterprise Miner, you would be best off using the Segment Profile node which can take the output of the Cluster node.  The Segment Profile node allows you to create a decision tree based on cluster membership so that you can identify which factors might classify an observation into one cluster vs. another.  

 

If you still wish to perform hierarchical clustering, you could write code to call the CLUSTER procedure in order to generate a hierarchical cluster analysis.  You would be limited in how you could visualize those results as the SAS Code node is not a complete replacement for the SAS Display Manager System and therefore has limitations on certain types of output.  For example, code utilizing the Output Delivery System won't always run successfully when running SAS Enterprise Miner.  

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 8 replies
  • 901 views
  • 1 like
  • 4 in conversation