Class VarianceIncreaseDistance

  • All Implemented Interfaces:
    CFDistance

    @Alias("D4")
    @Reference(authors="Andreas Lang and Erich Schubert",title="BETULA: Numerically Stable CF-Trees for BIRCH Clustering",booktitle="Int. Conf on Similarity Search and Applications",url="https://doi.org/10.1007/978-3-030-60936-8_22",bibkey="DBLP:conf/sisap/LangS20") @Reference(authors="Andreas Lang and Erich Schubert",title="BETULA: Fast Clustering of Large Data with Improved BIRCH CF-Trees",booktitle="Information Systems",url="https://doi.org/10.1016/j.is.2021.101918",bibkey="DBLP:journals/is/LangS22")
    public class VarianceIncreaseDistance
    extends java.lang.Object
    implements CFDistance
    Variance increase distance.

    Reference:

    Andreas Lang and Erich Schubert
    BETULA: Numerically Stable CF-Trees for BIRCH Clustering
    Int. Conf on Similarity Search and Applications 2020

    Andreas Lang and Erich Schubert
    BETULA: Fast Clustering of Large Data with Improved BIRCH CF-Trees
    Information Systems

    Since:
    0.8.0
    Author:
    Andreas Lang, Erich Schubert
    • Constructor Detail

      • VarianceIncreaseDistance

        public VarianceIncreaseDistance()
    • Method Detail

      • squaredDistance

        public double squaredDistance​(NumberVector nv,
                                      ClusterFeature cf)
        Description copied from interface: CFDistance
        Distance of a vector to a clustering feature.
        Specified by:
        squaredDistance in interface CFDistance
        Parameters:
        nv - Vector
        cf - Clustering Feature
        Returns:
        Distance
      • squaredDistance

        public double squaredDistance​(ClusterFeature cf1,
                                      ClusterFeature cf2)
        Description copied from interface: CFDistance
        Distance between two clustering features.
        Specified by:
        squaredDistance in interface CFDistance
        Parameters:
        cf1 - First clustering feature
        cf2 - Second clustering feature
        Returns:
        Distance