@Reference(authors="J. C. Gower", title="A comparison of some methods of cluster analysis", booktitle="Biometrics (1967)", url="http://www.jstor.org/stable/10.2307/2528417") @Alias(value={"wpgmc","WPGMC","weighted-centroid"}) public class MedianLinkageMethod extends Object implements LinkageMethod
J.C. Gower
A comparison of some methods of cluster analysis
Biometrics (1967): 623-637.
Modifier and Type | Class and Description |
---|---|
static class |
MedianLinkageMethod.Parameterizer
Class parameterizer.
|
Modifier and Type | Field and Description |
---|---|
static MedianLinkageMethod |
STATIC
Static instance of class.
|
Constructor and Description |
---|
MedianLinkageMethod()
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 MedianLinkageMethod STATIC
@Deprecated public MedianLinkageMethod()
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 merging