BookmarkSubscribeRSS Feed
kewldude
Calcite | Level 5

Hi,

 

Lets say I used a decision tree and logistic regression nodes in SAS Enterprise Miner and then I have another model produced using SVM in Python . How can I get the python output and use it in SAS EM with the intention of using the output of the decision tree, logistic regression and this SVM from Python as an input to the Ensemble Node?

 

I know SAS EM has an SVM node and the probable answer to my question is why use Python when you can use SAS EM and its SVM node. Still, the question is if i want to combine outputs from a different platform/language and use it in SAS EM, how do I go about doing that? Any samples?

 

 

2 REPLIES 2
Reeza
Super User

My brain is running a blank right now, but there's a model structure that SAS can import that many languages support, something like PLC/PLM/PML? 

 

EDIT: PLM, R has a package for this as well, not sure about Python. 

WendyCzika
SAS Employee

There are instructions and a sample SAS Enterprise Miner diagram (the XML file) at this GitHub repo:

 

https://github.com/sassoftware/enlighten-integration/tree/master/SAS_EM_PythonIntegration

 

This shows how you can run your Python code from a SAS Code node, then use the Model Import node to be able to assess your model as you can with SAS Enterprise Miner models.

 

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 2 replies
  • 1291 views
  • 2 likes
  • 3 in conversation