Class SquaredEuclideanWeight

  • All Implemented Interfaces:
    CFInitWeight

    @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 SquaredEuclideanWeight
    extends java.lang.Object
    implements CFInitWeight
    Use the squared Euclidean distance only for distance measurement.

    References:

    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
    • Constructor Detail

      • SquaredEuclideanWeight

        public SquaredEuclideanWeight()
    • Method Detail

      • squaredWeight

        public double squaredWeight​(ClusterFeature c1,
                                    ClusterFeature c2)
        Description copied from interface: CFInitWeight
        Distance between two clustering features.
        Specified by:
        squaredWeight in interface CFInitWeight
        Parameters:
        c1 - Previously chosen clustering feature
        c2 - Candidate clustering feature
        Returns:
        Weight