Documentation of 'jminhep.algorithms.KMeansExchangeAlg' Java class
KMeansExchangeAlg
jminhep.algorithms

Class KMeansExchangeAlg



  • public class KMeansExchangeAlg
    extends java.lang.Object
    K-means partitioning using exchange method.

    Based on Jama Matrix class package, "JAMA: A Java Matrix Package" is used.
    See: http://math.nist.gov/javanumerics/jama

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      double MAXVAL 
      double R 
    • Constructor Detail

      • KMeansExchangeAlg

        public KMeansExchangeAlg(DataHolder data)
    • Method Detail

      • setEpochMax

        public void setEpochMax(int N)
      • getError

        public int getError()
      • setClusters

        public void setClusters(int Nclu)
      • getClusters

        public int getClusters()
        Get number of clusters.
      • getCenters

        public DataHolder getCenters()
        Returns cluster centers
        Returns:
        DataHolder
      • getSeedHolder

        public DataHolder getSeedHolder()
        Returns seed centers
        Returns:
        DataHolder
      • getNumberPoints

        public int[] getNumberPoints()
        Returns the number of points in each cluster
        Returns:
        int[] getNumberPoints
      • getCompactness

        public double getCompactness()
        This method returns the Compactness and Separation measure of cluster validity (see Fuzzy Algorithms With Applications to Image Processing and Pattern Recognition, Zheru Chi, Hong Yan, Tuan Pham, World Scientific, pp. 93)
      • runBest

        public void runBest()
      • run

        public void run()
      • getName

        public java.lang.String getName()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.