Interface KMedoidsInitialization<O>
-
- Type Parameters:
O
- Object type
- All Known Implementing Classes:
AlternateRefinement
,BUILD
,FarthestPoints
,FarthestSumPoints
,FirstK
,GreedyG
,KMeansPlusPlus
,KMedoidsKMedoidsInitialization
,LAB
,ParkJun
,RandomlyChosen
public interface KMedoidsInitialization<O>
Interface for initializing K-Medoids. In contrast to k-means initializers, this initialization will only return members of the original data set.- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DBIDs
chooseInitialMedoids(int k, DBIDs ids, DistanceQuery<? super O> distance)
Choose initial means
-
-
-
Method Detail
-
chooseInitialMedoids
DBIDs chooseInitialMedoids(int k, DBIDs ids, DistanceQuery<? super O> distance)
Choose initial means- Parameters:
k
- Parameter kids
- Candidate IDs.distance
- Distance function- Returns:
- List of chosen means for k-means
-
-