Class HamerlyKMeans<V extends NumberVector>

    • Field Detail

      • LOG

        private static final Logging LOG
        The logger for this class.
      • varstat

        protected boolean varstat
        Flag whether to compute the final variance statistic.
    • Constructor Detail

      • HamerlyKMeans

        public HamerlyKMeans​(NumberVectorDistance<? super V> distance,
                             int k,
                             int maxiter,
                             KMeansInitialization initializer,
                             boolean varstat)
        Constructor.
        Parameters:
        distance - distance function
        k - k parameter
        maxiter - Maxiter parameter
        initializer - Initialization method
        varstat - Compute the variance statistic