Interface KMedoidsInitialization<O>

    • Method Detail

      • chooseInitialMedoids

        DBIDs chooseInitialMedoids​(int k,
                                   DBIDs ids,
                                   DistanceQuery<? super O> distance)
        Choose initial means
        Parameters:
        k - Parameter k
        ids - Candidate IDs.
        distance - Distance function
        Returns:
        List of chosen means for k-means