BookmarkSubscribeRSS Feed
Mahmoud7
Calcite | Level 5

Hello,

 

I want to be able to export the modified dataset after the variable selection

 

when I used the varaible selection node, 71 variables were rejected from a total of 256 ones, so in order to do some statistical work on the remaining, I have used a SAS node trying to export the selected varaibles ONLY (185 varaibles),

 

My sas code was the following :

 

proc sql;

create table work.test as select a.*

from

&EM_IMPORT_DATA a;

run;

 

Any ideas how to do it, or for any result of other miner node (a transformation node for exemple)

2 REPLIES 2
Mahmoud7
Calcite | Level 5

no one knows the answer ?

WendyCzika
SAS Employee

I prefer DATA step to SQL, but there is probably a way to do it with SQL too 🙂

 

data work.test;
 set &em_import_data;
 drop %em_rejected;
run;

Note for this to work, you need to set the Hide Rejected Variables property in the Variable Selection node to No, then in the Variables editor for the SAS Code node, set Use=Yes for all variables.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2 replies
  • 743 views
  • 0 likes
  • 2 in conversation