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

I want to produce PMML for a logistic regression model I built in EM. 

 

As instructed in the help, I set the macro variable EM_PMML to yes. Regression is supported for the PMML. 

 

However, the PMML is still greyed out on the scoring menu on the results page. 

 

In contrast, using the same dataset with a Decision Tree node, a PMML is available as the output. 

 

Any thoughts why the PMML for logistic regression is not available?Untitled.png

1 ACCEPTED SOLUTION

Accepted Solutions
WendyCzika
SAS Employee

Just checking that you set EM_PMML to Yes before running the Regression node?  If not, you might need to rerun it, you can force it to rerun by changing the property on the Input Data node to for "Rerun" to Yes then rerunning Regression.  

 

If that's not it, are you running with default properties for the Regression node or did you change any? I'm not saying that is necessarily why it is not being produced, but just trying to figure out what is different - running with defaults and one of the sample data sets, I am getting the PMML score code in the results.

View solution in original post

2 REPLIES 2
WendyCzika
SAS Employee

Just checking that you set EM_PMML to Yes before running the Regression node?  If not, you might need to rerun it, you can force it to rerun by changing the property on the Input Data node to for "Rerun" to Yes then rerunning Regression.  

 

If that's not it, are you running with default properties for the Regression node or did you change any? I'm not saying that is necessarily why it is not being produced, but just trying to figure out what is different - running with defaults and one of the sample data sets, I am getting the PMML score code in the results.

Eric_0000
Calcite | Level 5

Thank you, Wendy, for your reply.

 

Yes, I did run the code before the regression node.  I didn't change the the setting of the node. I only picked the predictors and target variables.  That's pretty much it. 

 

I will try with a different dataset. 

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of 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
  • 802 views
  • 0 likes
  • 2 in conversation