Learn R Programming

pmml (version 1.2.21)

pmml.hclust: Generate PMML for a hclust object

Description

Generate a PMML representation for a hierarchical cluster object. The hclust object will be approximated by k centroids and is converted into a PMML representation for kmeans clusters. The PMML can then be imported into other systems that accept PMML.

Usage

## S3 method for class 'hclust':
pmml(model, model.name="HClust_Model", app.name="Rattle/PMML",
     description="Hierarchical cluster model", copyright=NULL,
transforms=NULL, dataset=NULL, centers, \dots)

Arguments

model
a hclust object.
model.name
a name to give to the model in the PMML.
app.name
the name of the application that generated the PMML.
description
a descriptive text for the header of the PMML.
copyright
the copyright notice for the model.
transforms
a coded list of transforms performed.
dataset
the orginal training dataset, if available.
centers
a list of means to represent the clusters.
...
further arguments passed to or from other methods.

References

Package home page: http://rattle.togaware.com

PMML home page: http://www.dmg.org

See Also

pmml, hclust.