BookmarkSubscribeRSS Feed
rogelio_mancisidor
Calcite | Level 5

Hello,

 

I want to execute the reject inference node using a code node, so I can tune the parameters in a loop. How can I execute the miner nodes from a code node? 

 

Thanks,

Rogelio

1 REPLY 1
DougWielenga
SAS Employee

I want to execute the reject inference node using a code node, so I can tune the parameters in a loop. How can I execute the miner nodes from a code node? 

 

 I'm not entirely sure what you are trying to do, but I can share the functionality the SAS Enterprise Miner does have to run particular flows using code from a Base SAS or SAS Enterprise Guide session.   

 

Here are some things to know first:

  * Calling the procedures underlying the non-HP nodes in SAS Enterprise Miner is not supported by SAS Tech Support

  * Nodes named beginning with HP (for High Performance) rely on underlying procedures that can be called directly in a SAS session or a  SAS Code node in SAS Enterprise Miner, but the nodes themselves often involve other processing so you might get different results (e.g. default node settings might not be the same as your direct call to the procedure, the input data might have been modified by SAS Enterprise Miner earlier in the flow, etc...)

  * If you wish to run a particular flow in SAS Enterprise Miner from outside of SAS Enterprise Miner, you can do so by submitting batch code; each run creates a new diagram in a new or existing SAS Enterprise Miner project based on how you set the macro variables associated with the code. Note:  For more information on this, click on Help --> Contents and navigate to SAS Enterprise Miner Batch Processing in the panel on the left of the dialog which appears. 

 

Although the last approach seems promising, please note that this batch code builds a new diagram for each run, so running it in a loop will generate multiple diagrams which cannot be easily compiled.  It is far easier to just build a flow that has multiple paths and/or multiple Reject Inference nodes with different settings so that they can be compared side by side in a single diagram.  

 

Hope this helps!

Doug

 

 

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
  • 1 reply
  • 799 views
  • 0 likes
  • 2 in conversation