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
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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.