## S3 method for class 'randomForest':
pmml(model, model.name="randomForest_Model",
app.name="Rattle/PMML",
description="Random Forest Tree Model",
copyright = NULL,
transforms = NULL, ...)
forest
object contained in an object of class
randomForest
.XMLNode
as that defined by the saveXML
. Use of PMML and pmml.randomForest
requires the
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).
PMML home page:
A. Guazzelli, W. Lin, T. Jena (2012), PMML in Action: Unleashing the Power
of Open Standards for Data Mining and Predictive Analytics. CreativeSpace
(Second Edition) - Available on Amazon.com -
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 randomForest model
library(randomForest)
(iris.rf <- randomForest(Species ~ ., data=iris, ntree=2))
# Convert to pmml
pmml(iris.rf)
Run the code above in your browser using DataLab