pmml.rules {pmml}R Documentation

Generate PMML for arules objects

Description

Generate the PMML representation for a rules or an itemset object from package arules.

Usage

## 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, ...)

Arguments

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.

Details

The model is represented in the PMML AssociationModel format.

Author(s)

Michael Hahsler (michael@hahsler.net)

References

R project CRAN package: arules: Mining Association Rules and Frequent Itemsets
http://cran.r-project.org/web/packages/arules/index.html


[Package pmml version 1.4.2 Index]