pmml (version 1.5.5)

pmml.rules: Generate PMML for arules objects

Description

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

Usage

# S3 method for rules
pmml(model, model.name="arules_Model",
      app.name="Rattle/PMML",
      description="arules association rules model",
      copyright=NULL, transforms = NULL, …)
# S3 method for 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.

References

R project CRAN package: arules: Mining Association Rules and Frequent Itemsets https://CRAN.R-project.org/package=arules