## S3 method for class 'lm':
pmml(model, model.name="Linear_Regression_Model", app.name="Rattle/PMML",
description="Linear Regression Model", copyright=NULL,
transforms=NULL, dataset=NULL, weights=NULL, \dots)
The generated PMML can be imported into any PMML consuming application, such as the Zementis ADAPA and UPPI scoring engines which allow for predictive models built in R to be deployed and executed on site, in the cloud (Amazon, IBM, and FICO), in-database (IBM Netezza, Pivotal, Sybase IQ, Teradata and Teradata Aster) or Hadoop (Datameer and Hive).
Note that the resultant PMML document will not encode interaction terms. Currently, only numeric regression is supported. Also note that Generalized linear models (logistic regression) are not yet supported.
PMML home page:
A. Guazzelli, M. Zeller, W. Lin, G. Williams (2009), PMML: An Open Standard for Sharing Models. The R journal, Volume 1/1, 60-65
pmml
.# Build a simple lm model
(iris.lm <- lm(Sepal.Length ~ ., data=iris))
# Convert to pmml
pmml(iris.lm)
Run the code above in your browser using DataLab