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

SAS Miner: export train cluster results

Accepted Solution Solved
Reply
New Contributor
Posts: 4
Accepted Solution

SAS Miner: export train cluster results

Hello,

I hope someone can help me.

I would like to access the final SAS data file with the cluster training results, with the assigned cluster per customers.

When I access the export file folder, I see several SAS files but I can#t see the training set. The only training output is in SAS view format and I can open/load it.

Many thanks,

Elisa


Accepted Solutions
Solution
‎01-26-2015 09:34 AM
Super Contributor
Posts: 336

Re: SAS Miner: export train cluster results

Hi Elisa,

Are you trying to access the exported data of the cluster node from base SAS? You need two things: the library and the physical path for your EM Workspace.

1. Data Set and Library

Once you run your cluster node, go to the properties and click on the ellipsis for Exported Data. Take a note of the library and data set.

     felisa1.png

          For example, in my case it is EMWS1.Clus_Train. You can also browse, explore, or see the variables.

2. Workspace Library.

You are going to create a library that maps EM workspace (EMWS1 in my example). First confirm the physical path through the Explorer. Click on the Explorer Icon. Then check "Show project folders". Take note of the path of your workspace.

     felisa2.png

          In my example it is "D:\All_users\mal\EMProj\RP\Workspaces\EMWS1".

Now go to base SAS and create a library with the same name as the workspace number (EMWS1, EMWS2, EMWS3, etc.) and you will be able to open it even if it is a view.

In my example I would run the below in base SAS:

     libname EMWS1 "D:\All_users\mal\EMProj\RP\Workspaces\EMWS1";

Good luck!

Miguel

View solution in original post


All Replies
Solution
‎01-26-2015 09:34 AM
Super Contributor
Posts: 336

Re: SAS Miner: export train cluster results

Hi Elisa,

Are you trying to access the exported data of the cluster node from base SAS? You need two things: the library and the physical path for your EM Workspace.

1. Data Set and Library

Once you run your cluster node, go to the properties and click on the ellipsis for Exported Data. Take a note of the library and data set.

     felisa1.png

          For example, in my case it is EMWS1.Clus_Train. You can also browse, explore, or see the variables.

2. Workspace Library.

You are going to create a library that maps EM workspace (EMWS1 in my example). First confirm the physical path through the Explorer. Click on the Explorer Icon. Then check "Show project folders". Take note of the path of your workspace.

     felisa2.png

          In my example it is "D:\All_users\mal\EMProj\RP\Workspaces\EMWS1".

Now go to base SAS and create a library with the same name as the workspace number (EMWS1, EMWS2, EMWS3, etc.) and you will be able to open it even if it is a view.

In my example I would run the below in base SAS:

     libname EMWS1 "D:\All_users\mal\EMProj\RP\Workspaces\EMWS1";

Good luck!

Miguel

New Contributor
Posts: 4

Re: SAS Miner: export train cluster results

It works perfectly!!

Many thanks Miguel

Super Contributor
Posts: 490

Re: SAS Miner: export train cluster results

You can also using Save Data Node under Utility tab

1-Connect the Save Data Node to the Cluster Node

2-Choose the file format and the directory in the left hand side Properties Panel of the Save Data node.

3- Then run the node.

4- Then you will get the result in the specified format in the specified dir.

☑ This topic is SOLVED.

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

Discussion stats
  • 3 replies
  • 1300 views
  • 3 likes
  • 3 in conversation