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.

 

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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