The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"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.