predict.ccfkms: Clustering with Conjugate Convex Functions.
Description
Classify the rows of a data matrix using conjugate convex functions.
Usage
# S3 method for ccfkms
predict(object, x, drop = 1, ...)
Value
A list with the following components:
- centers
a matrix of cluster means.
- size
a vector of cluster sizes.
- cl
a factor of cluster labels (indexes).
- inv.inf
the inverted information of the partition.
Arguments
- object
an object of class ccfkms
.
- x
a data matrix containing test or new samples.
- drop
cluster size threshold.
- ...
other (unused) arguments.
Details
This is a wrapper to ccfkms
which uses a single iteration
for classifying the data.
In the case a drop
value greater than zero is specified, all
clusters with size equal or less than this value are removed from the
classifier.
See Also
ccfkms
for obtaining a classifier.