predict.ccfkms: Clustering with Conjugate Convex Functions.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/ccfkms.r

Description

Classify the rows of a data matrix using conjugate convex functions.

Usage

1
2
## S3 method for class 'ccfkms'
predict(object, x, drop = 1, ...)

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.

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.

Author(s)

Christian Buchta

See Also

ccfkms for obtaining a classifier.

Examples

1
### see ccfkms

cba documentation built on May 2, 2019, 1:39 p.m.

Related to predict.ccfkms in cba...