Class AverageInterclusterDistance
- java.lang.Object
-
- elki.clustering.hierarchical.birch.AverageInterclusterDistance
-
- All Implemented Interfaces:
BIRCHDistance
@Alias("D2") @Reference(authors="T. Zhang", title="Data Clustering for Very Large Datasets Plus Applications", booktitle="University of Wisconsin Madison, Technical Report #1355", url="ftp://ftp.cs.wisc.edu/pub/techreports/1997/TR1355.pdf", bibkey="tr/wisc/Zhang97") public class AverageInterclusterDistance extends java.lang.Object implements BIRCHDistance
Average intercluster distance.Reference:
Data Clustering for Very Large Datasets Plus Applications
T. Zhang
Doctoral Dissertation, 1997.- Since:
- 0.7.5
- Author:
- 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(ClusteringFeature cf1, ClusteringFeature cf2)
Distance between two clustering features.double
squaredDistance(NumberVector v, ClusteringFeature cf)
Distance of a vector to a clustering feature.
-
-
-
Field Detail
-
STATIC
public static final AverageInterclusterDistance STATIC
Static instance.
-
-
Method Detail
-
squaredDistance
public double squaredDistance(NumberVector v, ClusteringFeature cf)
Description copied from interface:BIRCHDistance
Distance of a vector to a clustering feature.- Specified by:
squaredDistance
in interfaceBIRCHDistance
- Parameters:
v
- Vectorcf
- Clustering Feature- Returns:
- Distance
-
squaredDistance
public double squaredDistance(ClusteringFeature cf1, ClusteringFeature cf2)
Description copied from interface:BIRCHDistance
Distance between two clustering features.- Specified by:
squaredDistance
in interfaceBIRCHDistance
- Parameters:
cf1
- First clustering featurecf2
- Second clustering feature- Returns:
- Distance
-
-