Follow

What types of regression models built in R can I export in PMML?

Quick answer:

  • Linear Regression
  • Binary Logistic Regression
  • Multinomial Logistic Regression
  • Generalized Linear Regression

You can basically export any linear regression models you build using the R glm, lm or multinom function into PMML by using the PMML package available from  CRAN.

The original version of this package only allowed for the exporting of linear regression models. We have extended it to also export general regression models built using the R glm and multinom functions. The family of models which can now be exported include categorical and numeric simple regression models, binomial and multinomial logistic models, and general regression models. The general regression models support a variety of link functions, such as cloglog, identity, log, logit, probit, inverse and power.

Note that this function does not support ordinal multinomial logistic regression models or any other regression models built using the VGAM package.

0 Comments

Article is closed for comments.
Powered by Zendesk