Interface Clustering<T>

  • Type Parameters:
    T - the type of input object.
    All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    CLARANS, KMeans, PartitionClustering

    public interface Clustering<T>
    extends java.io.Serializable
    Clustering interface.
    Author:
    Haifeng Li
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int OUTLIER
      Cluster label for outliers or noises.
    • Field Detail

      • OUTLIER

        static final int OUTLIER
        Cluster label for outliers or noises.
        See Also:
        Constant Field Values
    • Method Detail

      • predict

        int predict​(T x)
        Cluster a new instance.
        Parameters:
        x - a new instance.
        Returns:
        the cluster label.