Constructor and Description |
---|
LocalKMeans() |
Modifier and Type | Method and Description |
---|---|
static VectorWithNorm[] |
kMeansPlusPlus(int seed,
VectorWithNorm[] points,
double[] weights,
int k,
int maxIterations)
Run K-means++ on the weighted point set
points . |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public static VectorWithNorm[] kMeansPlusPlus(int seed, VectorWithNorm[] points, double[] weights, int k, int maxIterations)
points
. This first does the K-means++
initialization procedure and then rounds of Lloyd's algorithm.