Interface KMeansInitialization

    • Method Detail

      • chooseInitialMeans

        double[][] chooseInitialMeans​(Relation<? extends NumberVector> relation,
                                      int k,
                                      NumberVectorDistance<?> distance)
        Choose initial means
        Parameters:
        relation - Relation
        k - Parameter k
        distance - Distance function
        Returns:
        List of chosen means for k-means