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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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