Thursday, February 7, 2008

How can I export PMML code from R?

A PMML package for R that exports all kinds of predictive models is available from Togaware. Go to the site shown in the link below and download the PMML package (or get it through CRAN):

http://rattle.togaware.com/

Zementis has contributed exporter functionality for the following R packages/functions:

1) ksvm (Support Vector Machines);

2) nnet (Neural Networks).

Both ksvm and nnet export PMML 3.2.

We have also updated the linear and binary logistic regression function to also export PMML 3.2. This function works with R package glm.

In addition to the models listed above, the pmml package also offers PMML 3.1 export for decision trees (package rpart) and clustering models. You can use the PMML Converter to convert decision trees from version 3.1 to 3.2 and upload them into ADAPA.

0 comments: