Package elki.index.tree.betula.distance
Class AverageInterclusterDistance
- java.lang.Object
-
- elki.index.tree.betula.distance.AverageInterclusterDistance
-
- All Implemented Interfaces:
CFDistance
@Alias("D2") @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 AverageInterclusterDistance extends java.lang.Object implements CFDistance
Average intercluster distance.Reference:
Andreas Lang and Erich Schubert
BETULA: Numerically Stable CF-Trees for BIRCH Clustering
Int. Conf on Similarity Search and Applications 2020Andreas 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AverageInterclusterDistance.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static AverageInterclusterDistance
STATIC
Static instance.
-
Constructor Summary
Constructors Constructor Description AverageInterclusterDistance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
squaredDistance(NumberVector nv, ClusterFeature cf)
Distance of a vector to a clustering feature.double
squaredDistance(ClusterFeature cf1, ClusterFeature cf2)
Distance between two clustering features.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.index.tree.betula.distance.CFDistance
matSelfInit
-
-
-
-
Field Detail
-
STATIC
public static final AverageInterclusterDistance STATIC
Static instance.
-
-
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 interfaceCFDistance
- Parameters:
nv
- Vectorcf
- 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 interfaceCFDistance
- Parameters:
cf1
- First clustering featurecf2
- Second clustering feature- Returns:
- Distance
-
-