public abstract class AbstractKMeansInitialization extends java.lang.Object implements KMeansInitialization
Modifier and Type | Class and Description |
---|---|
static class |
AbstractKMeansInitialization.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected RandomFactory |
rnd
Random number generator
|
Constructor and Description |
---|
AbstractKMeansInitialization(RandomFactory rnd)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static double[][] |
unboxVectors(java.util.List<? extends NumberVector> means)
Unbox database means to primitive means.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
chooseInitialMeans
protected RandomFactory rnd
public AbstractKMeansInitialization(RandomFactory rnd)
rnd
- Random number generator.public static double[][] unboxVectors(java.util.List<? extends NumberVector> means)
means
- Database meansdouble[]
meansCopyright © 2019 ELKI Development Team. License information.