Class AbstractCFKMeansInitialization

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected elki.utilities.random.RandomFactory rf
      Random number generator
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract double[][] chooseInitialMeans​(CFTree<?> tree, java.util.List<? extends ClusterFeature> cfs, int k)
      Build the initial models.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • rf

        protected elki.utilities.random.RandomFactory rf
        Random number generator
    • Constructor Detail

      • AbstractCFKMeansInitialization

        public AbstractCFKMeansInitialization​(elki.utilities.random.RandomFactory rf)
        Constructor.
        Parameters:
        rf - Random number generator
    • Method Detail

      • chooseInitialMeans

        public abstract double[][] chooseInitialMeans​(CFTree<?> tree,
                                                      java.util.List<? extends ClusterFeature> cfs,
                                                      int k)
        Build the initial models.
        Parameters:
        tree - CF tree
        cfs - Cluster features of the tree (may be ignored for tree-based initializations, should be an array list for efficiency)
        k - Number of clusters.
        Returns:
        initial cluster means