public interface OnlineClustering<T extends DoubleVector>
OnlineCustering
instance may request one or all of the
centroids. These centroids may be created per request or maintained
internally at all times.
Implementations are expected to be thread-safe.Modifier and Type | Field and Description |
---|---|
static String |
NUM_CLUSTERS_PROPERTY |
static String |
PROPERTY_PREFIX |
static final String PROPERTY_PREFIX
static final String NUM_CLUSTERS_PROPERTY
int addVector(T value)
value
a cluster. The cluster may exist already or a new one
may be generated. A unique identifier for the vector being clustered is
returned. This identifier is to be used later on to query the cluster to
which the value was assigned.int size()
Cluster
s.Copyright © 2012. All Rights Reserved.