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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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