pmml.rules {pmml} | R Documentation |
Generate the PMML representation for a rules or an itemset object from package arules.
## S3 method for class 'rules' pmml(model, model.name="arules_Model", app.name="Rattle/PMML", description="arules association rules model", copyright=NULL, transforms = NULL, ...) ## S3 method for class 'itemsets' pmml(model, model.name="arules_Model", app.name="Rattle/PMML", description="arules frequent itemsets model", copyright=NULL, transforms = NULL, ...)
model |
a rules or itemsets object. |
model.name |
a name to be given to the model in the PMML code. |
app.name |
the name of the application that generated the PMML code. |
description |
a descriptive text for the Header element of the PMML code. |
copyright |
the copyright notice for the model. |
transforms |
not used in present version. |
... |
further arguments passed to or from other methods. |
The model is represented in the PMML AssociationModel format.
Michael Hahsler (michael@hahsler.net)
R project CRAN package: arules: Mining Association Rules and Frequent Itemsets
http://cran.r-project.org/web/packages/arules/index.html