Documentation of 'jsat.clustering.kmeans.NaiveKMeans' Java class
NaiveKMeans
jsat.clustering.kmeans

Class NaiveKMeans

  • All Implemented Interfaces:
    java.io.Serializable, Clusterer, KClusterer, Parameterized


    public class NaiveKMeans
    extends KMeans
    An implementation of Lloyd's K-Means clustering algorithm using the naive algorithm. This implementation exists mostly for comparison as a base line and educational reasons. For efficient exact k-Means, use ElkanKMeans

    This implementation is parallel, but does not support any of the clustering methods that do not specify the number of clusters.
    See Also:
    Serialized Form
    • Constructor Detail

      • NaiveKMeans

        public NaiveKMeans()
        Creates a new naive k-Means cluster using k-means++ for the seed selection and the EuclideanDistance
      • NaiveKMeans

        public NaiveKMeans(DistanceMetric dm)
        Creates a new naive k-Means cluster using k-means++ for the seed selection.
        Parameters:
        dm - the distance function to use
      • NaiveKMeans

        public NaiveKMeans(DistanceMetric dm,
                           SeedSelectionMethods.SeedSelection seedSelection)
        Creates a new naive k-Means cluster
        Parameters:
        dm - the distance function to use
        seedSelection - the method of selecting the initial seeds
      • NaiveKMeans

        public NaiveKMeans(DistanceMetric dm,
                           SeedSelectionMethods.SeedSelection seedSelection,
                           java.util.Random rand)
        Creates a new naive k-Means cluster
        Parameters:
        dm - the distance function to use
        seedSelection - the method of selecting the initial seeds
        rand - the source of randomness to use
      • NaiveKMeans

        public NaiveKMeans(NaiveKMeans toCopy)
        Copy constructor
        Parameters:
        toCopy - the object to copy

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.