Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

"Logistic Regression PMML"

btb2tbtb2t Member Posts: 1 Learner III
edited June 2019 in Help
hi,

Should I be able to write PMML for a regular (non-evolutionary) Logistic Regression model?  I get an error stating "The class MyKLRModel cannot be exported to PMML" regardless of whether kernel type is set to dot or not.

If not, is this a limitation of PMML or RapidMiner?  ie could I manually write PMML to match a Logistic Regression generated by RapidMiner?

And by the way, the Write PMML operator does work if I use Evolutionary Logistic Regression and set the kernel type to dot.  The results are much worse though.

thank you,
Ben
Tagged:

Answers

  • Miguel_B_scherMiguel_B_scher Member Posts: 9 Contributor II
    Hi Ben.

    You are right.
    Currently you can't write a PMML file for your data using logistic regression with a specific kernel other than dot.
    Thats because you simply cant switch the kernel type in a PMML file. You can take a look to the LogisticregressionPMMLWriter class in die PMML plugin.

    This limitation is more a PMML limitation. http://dmg.org/v4-1/Regression.html explains very well whats possible and how its done.

    Miguel
Sign In or Register to comment.