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,984

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

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!

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