BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Ragesh
Fluorite | Level 6

Hi All,

How to export a sas code from SAS E-miner to PMML file.

Or is there any procedured or code to create a PMML file using BASE SAS.

Thanks in Advance,

Ragesh.S

1 ACCEPTED SOLUTION

Accepted Solutions
SusanHaller
SAS Employee

Ragesh,

As Mohamed pointed out, I would recommend that you start by taking a look at the Help documentation to get an understanding of what is supported within EM for PMML generation.  From EM, select Help->Contents from the toolbar.  When this opens, simply do a search for PMML.  The first link that is listed provides a good overview of this functionality.   From this, the following nodes support the generation of PMML code:

Association

Cluster

Regression

Dmine Regression

Decision Tree

Neural Network

AutoNeural

For those that are supported, if the EM_PMML flag is set to Y as described above, when you run the supported nodes the PMML file will automatically be generated for you.   You can view the PMML by opening the Results of the node and selecting View->Scoring->PMML Code.

View solution in original post

4 REPLIES 4
mohamed_zaki
Barite | Level 11

If you need to enable the generation of PMML code in EM.

You should add the %let EM_PMML=Y; to your project starter code.

Capture.PNG

Return to help in EM (F1) for more details, search for PMML. As in the capture above.

You will find more details about which nodes support the PMML options and other there.

Ragesh
Fluorite | Level 6

Hi Mohamad Zaki,

Thanks for your response.

I am totally new to E-Miner.

Can you give a detailed step as how to create a PMML file using E-Miner once we add

%let EM_PMML=Y.


Thanks in Advance,

Ragesh.S

SusanHaller
SAS Employee

Ragesh,

As Mohamed pointed out, I would recommend that you start by taking a look at the Help documentation to get an understanding of what is supported within EM for PMML generation.  From EM, select Help->Contents from the toolbar.  When this opens, simply do a search for PMML.  The first link that is listed provides a good overview of this functionality.   From this, the following nodes support the generation of PMML code:

Association

Cluster

Regression

Dmine Regression

Decision Tree

Neural Network

AutoNeural

For those that are supported, if the EM_PMML flag is set to Y as described above, when you run the supported nodes the PMML file will automatically be generated for you.   You can view the PMML by opening the Results of the node and selecting View->Scoring->PMML Code.

Ragesh
Fluorite | Level 6

Thanks for your response Susan.

Is there any way to directly create PMML files from SAS Data integeration studio..??

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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