"Logistic Regression PMML"

btb2t
btb2t New Altair Community Member
edited November 2024 in Community Q&A
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

Answers

  • Miguel_B_scher
    Miguel_B_scher New Altair Community Member
    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

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.