BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
NicolasC
Fluorite | Level 6

Hi there

 

I would like to use the validation base created by the Data PArtition Node in Miner to work on it with SAS Guide.

Is this database stored somewhere in Miner project folder?

 

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
Urban_Science
Quartz | Level 8

The easiest way to do this is within EM.  Create a SAS Code node (Utility > SAS Code).  Connect it in the flow where you want the data to be exported.  Click on "..." in the "Code Editor" property.  The following code can be pasted into the Training Code section:

 

libname out "output Directory Path";

data out.validationData;
	set &EM_IMPORT_VALIDATE;
run;

When the node is ran, the validation dataset will be saved to the out library.

You can also get the training and test datasets from &EM_IMPORT_DATA and &EM_IMPORT_TEST respectively.

 

There is a lot that SAS Code nodes can do.  If you are interested in learning more about them, the SAS Code Node's documentation has a lot of great information.

View solution in original post

4 REPLIES 4
Urban_Science
Quartz | Level 8

The easiest way to do this is within EM.  Create a SAS Code node (Utility > SAS Code).  Connect it in the flow where you want the data to be exported.  Click on "..." in the "Code Editor" property.  The following code can be pasted into the Training Code section:

 

libname out "output Directory Path";

data out.validationData;
	set &EM_IMPORT_VALIDATE;
run;

When the node is ran, the validation dataset will be saved to the out library.

You can also get the training and test datasets from &EM_IMPORT_DATA and &EM_IMPORT_TEST respectively.

 

There is a lot that SAS Code nodes can do.  If you are interested in learning more about them, the SAS Code Node's documentation has a lot of great information.

NicolasC
Fluorite | Level 6

Thanks, worked perfectly!

Urban_Science
Quartz | Level 8
Please mark my answer as accepted! Thank you!
Urban_Science
Quartz | Level 8
Thank you!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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