
@Reference(authors="A. K. Jain and R. C. Dubes", title="Algorithms for Clustering Data", booktitle="Algorithms for Clustering Data, Prentice-Hall") @Alias(value={"wpgma","WPGMA"}) public class WeightedAverageLinkageMethod extends Object implements LinkageMethod
GroupAverageLinkageMethod for the UPGMA method
that uses the group size to weight the objects the same way.
Reference:
A. K. Jain and R. C. Dubes
Algorithms for Clustering Data
Prentice-Hall
| Modifier and Type | Class and Description |
|---|---|
static class |
WeightedAverageLinkageMethod.Parameterizer
Class parameterizer.
|
| Modifier and Type | Field and Description |
|---|---|
static WeightedAverageLinkageMethod |
STATIC
Static instance of class.
|
| Constructor and Description |
|---|
WeightedAverageLinkageMethod()
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 WeightedAverageLinkageMethod STATIC
@Deprecated public WeightedAverageLinkageMethod()
STATIC instead.public double combine(int sizex,
double dx,
int sizey,
double dy,
int sizej,
double dxy)
LinkageMethodcombine in interface LinkageMethodsizex - 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