BookmarkSubscribeRSS Feed

Asked & Answered: How to run SAS Enterprise Miner batch processing code in Model Studio

Started ‎03-06-2019 by
Modified ‎03-05-2019 by
Views 2,100

Question

 

97403_banner_Asked&Answered_aqua.pngI have batch processing code from a process flow diagram in SAS Enterprise Miner.  Is there any way I can use it in a Data Mining and Machine Learning project in Model Studio?  What if it includes High Performance Data Mining nodes?

Answer

There are certain caveats, but in many cases, yes, you can include your batch processing code in the Batch Code node of Model Studio to be able to assess and compare your SAS Enterprise Miner models in a Model Studio pipeline.  Here are the steps for the process:

 

  1. Build a process flow diagram in SAS Enterprise Miner. Your process flow diagram must include a modeling node (which could be a modeling node from the HPDM tab) and end in a Score node.
  2. Right-click the Score node in your diagram and select Export Path as SAS Program. Ensure that Run this path is enabled in the Export Path as SAS Program window. Specify a location to save the batch code and click OK.
  3. In a Model Studio pipeline, add a Batch Code node to your pipeline.  Note that the Model Studio project must have the same target variable metadata as the batch code.
  4. In the Batch Code node properties pane, click Open and navigate to the file that you saved earlier. The batch code that you created in SAS Enterprise Miner is opened in the code editor.
  5. Click the Save icon to save this code. Then click Close.
  6. Continue building your pipeline. When you run your pipeline, the Batch Code node runs alongside all other nodes.

 

Note that when the Batch Code node runs in Model Studio, a sample of the project data is provided to the SAS 9.4 environment, and the batch code that represents the SAS Enterprise Miner process flow diagram is run on that sample.  Note that if any HPDM nodes are in your process flow diagram, those will run in SMP mode. After the batch code runs, Model Studio retrieves either the DATA STEP score code or the analytic store and EP code. The retrieved code is used to score the full, original data in Model Studio. This scored data is then used to produce the assessment results.

 

For more information, please see the reference help for the Batch Code node in Model Studio at: https://go.documentation.sas.com/?cdcId=vdmmlcdc&cdcVersion=8.3&docsetId=vdmmlref&docsetTarget=n0sfq...

 

Version history
Last update:
‎03-05-2019 06:29 PM
Updated by:
Contributors

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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