BookmarkSubscribeRSS Feed

Asked & Answered: How can I pass data from an Open Source Code node to next node in SAS Model Studio

Started ‎12-18-2019 by
Modified ‎01-09-2020 by
Views 2,969

Question

 

97403_banner_Asked&Answered_aqua.pngHow can I pass data from an Open Source Code node to next node in SAS Model Studio?

Answer

Using the “Use output data in child nodes” property available in SAS Visual Data Mining and Machine Learning 8.5 or later.

 

When this property is selected, user can write code in Python or R and should make the output data available in the dm_scoreddf data frame (if “Generate data frame” property is selected) or the node_scored.csv file. While executing, the node saves this output data and uses it as input in subsequent child node(s). Even though data can be passed through the Open Source Code node with this new property, capabilities such as download score code, download score API, register models, publish models or score holdout data will not be enabled for open source models as there is no underlying SAS score code for them.

 

An example of passing data created in Open Source Code node in Data Mining Preprocessing lane to subsequent modeling node (Forest and Gradient Boosting) can be found on GitHub at sas-viya-dmml-pipelines project.

Example on GitHub

 

uc_pipeline.png

Version history
Last update:
‎01-09-2020 11:03 AM
Updated by:

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!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags