Generate the PMML representation for a KMeans object (cluster). The
kmeans object (a cluster described by k centroids) is converted into a
PMML representation. The PMML can then be imported into other systems
that accept PMML.
Usage
## S3 method for class 'kmeans':
pmml(model, model.name="KMeans_Model", app.name="Rattle/PMML",
description="KMeans cluster model", copyright=NULL,
transforms=NULL, dataset=NULL,
algorithm.name="KMeans: Hartigan and Wong", \dots)
Arguments
model
a kmeans 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
not used for kmeans.
algorithm.name
the variety of kmeans used.
...
further arguments passed to or from other methods.