Class SimplifiedElkanKMeans.Par<V extends NumberVector>

    • Constructor Detail

      • Par

        public Par()
    • Method Detail

      • needsMetric

        protected boolean needsMetric()
        Description copied from class: AbstractKMeans.Par
        Users could use other non-metric distances at their own risk; but some k-means variants make explicit use of the triangle inequality, we emit extra warnings then.
        Overrides:
        needsMetric in class AbstractKMeans.Par<V extends NumberVector>
        Returns:
        true if the algorithm uses triangle inequality