predict.ccfkms | R Documentation |
Classify the rows of a data matrix using conjugate convex functions.
## S3 method for class 'ccfkms'
predict(object, x, drop = 1, ...)
object |
an object of class |
x |
a data matrix containing test or new samples. |
drop |
cluster size threshold. |
... |
other (unused) arguments. |
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.
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. |
Christian Buchta
ccfkms
for obtaining a classifier.
### see ccfkms
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.