@Reference(authors="J. H. Ward Jr", title="Hierarchical grouping to optimize an objective function", booktitle="Journal of the American statistical association 58.301", url="http://dx.doi.org/10.1080/01621459.1963.10500845") @Alias(value={"ward","variance"}) public class WardLinkageMethod extends Object implements LinkageMethod
SquaredEuclideanDistanceFunction
Reference:
Ward Jr, Joe H.
Hierarchical grouping to optimize an objective function
Journal of the American statistical association 58.301 (1963): 236-244.
Modifier and Type | Class and Description |
---|---|
static class |
WardLinkageMethod.Parameterizer
Class parameterizer.
|
Modifier and Type | Field and Description |
---|---|
static WardLinkageMethod |
STATIC
Static instance of class.
|
Constructor and Description |
---|
WardLinkageMethod()
Deprecated.
use the static instance
STATIC instead. |
Modifier and Type | Method and Description |
---|---|
double |
combine(int sizex,
double dx,
int sizey,
double dy,
int sizej,
double dxy)
Compute combined linkage for two clusters.
|
public static final WardLinkageMethod STATIC
@Deprecated public WardLinkageMethod()
STATIC
instead.public double combine(int sizex, double dx, int sizey, double dy, int sizej, double dxy)
LinkageMethod
combine
in interface LinkageMethod
sizex
- Size of first cluster x before mergingdx
- Distance of cluster x to j before mergingsizey
- Size of second cluster y before mergingdy
- Distance of cluster y to j before mergingsizej
- Size of candidate cluster jdxy
- Distance between clusters x and y before mergingCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.