Class KMeansPlusPlus

    • Constructor Detail

      • KMeansPlusPlus

        public KMeansPlusPlus​(int clusters)
        Create a KMeans clusterer with k clusters and EuclideanDistance.
        Parameters:
        clusters - the number of cluster to partition the data into
      • KMeansPlusPlus

        public KMeansPlusPlus​(int clusters,
                              DistanceFunction distanceFunction)
        Create a KMeans clusterer
        Parameters:
        clusters - the number of cluster to partition the data into
        distanceFunction - the distanceFunction used to compute the distance between data points