public interface KMeansInitialization
Modifier and Type | Method and Description |
---|---|
double[][] |
chooseInitialMeans(Database database,
Relation<? extends NumberVector> relation,
int k,
NumberVectorDistanceFunction<?> distanceFunction)
Choose initial means
|
double[][] chooseInitialMeans(Database database, Relation<? extends NumberVector> relation, int k, NumberVectorDistanceFunction<?> distanceFunction)
database
- Database contextrelation
- Relationk
- Parameter kdistanceFunction
- Distance functionCopyright © 2019 ELKI Development Team. License information.