Documentation of 'smile.clustering.GMeans' Java class
GMeans
smile.clustering

Class GMeans

  • All Implemented Interfaces:
    java.io.Serializable, Clustering<double[]>


    public class GMeans
    extends KMeans
    implements java.io.Serializable
    G-Means clustering algorithm, an extended K-Means which tries to automatically determine the number of clusters by normality test. The G-means algorithm is based on a statistical test for the hypothesis that a subset of data follows a Gaussian distribution. G-means runs k-means with increasing k in a hierarchical fashion until the test accepts the hypothesis that the data assigned to each k-means center are Gaussian.

    References

    1. G. Hamerly and C. Elkan. Learning the k in k-means. NIPS, 2003.
    See Also:
    KMeans, XMeans, Serialized Form
    • Constructor Detail

      • GMeans

        public GMeans(double[][] data,
                      int kmax)
        Constructor. Clustering data with the number of clusters being automatically determined by G-Means algorithm.
        Parameters:
        data - the input data of which each row is a sample.
        kmax - the maximum number of clusters.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class KMeans

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.