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

Grouping objects by clustering to improve predictive modeling

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

Grouping objects by clustering to improve predictive modeling

Hi,

I'm doing a predictive modeling in SAS Ent. Min., and I'm trying do the observation grouping to improve the predictive models. So basically what I can't do and really would be great if smb could help, s this.... I did a clustering of my huge data set,  I get 5 clusters, so now what I would like to do is to analyse just 2 cluster, but I can't extract those 2 clusters into datasets. I've tried ith SAS code node, and doing it with &EM_metasource_class; &EM_IMPORT_CLUSMEAN and &EM_IMPORT_CLUSSTAT but its not working...so if you have any suggestions...well I just can't wait to learned themSmiley Happy

Smiley Happy


Accepted Solutions
Solution
‎07-06-2017 01:47 PM
Super Contributor
Posts: 336

Re: Grouping objects by clustering to improve predictive modeling

Hey Kasiacie,

You are on the right track

One way to do it.

On your code node use the below to:

-library statement. you can put this subset data on your own library. or if you prefer to do further analysis use &em_export_train (commented out below).

-data step code..

libname d "d:\";

*/data &EM_EXPORT_TRAIN/;*
data d.mycluster2;
set &EM_IMPORT_DATA;
where _segment_=2;
run;

I hope this helps,

Miguel

View solution in original post


All Replies
Solution
‎07-06-2017 01:47 PM
Super Contributor
Posts: 336

Re: Grouping objects by clustering to improve predictive modeling

Hey Kasiacie,

You are on the right track

One way to do it.

On your code node use the below to:

-library statement. you can put this subset data on your own library. or if you prefer to do further analysis use &em_export_train (commented out below).

-data step code..

libname d "d:\";

*/data &EM_EXPORT_TRAIN/;*
data d.mycluster2;
set &EM_IMPORT_DATA;
where _segment_=2;
run;

I hope this helps,

Miguel

New Contributor
Posts: 2

Re: Grouping objects by clustering to improve predictive modeling

ThanksSmiley Happy

☑ This topic is SOLVED.

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

Discussion stats
  • 2 replies
  • 2908 views
  • 0 likes
  • 2 in conversation