| DistanceAverageLinkage Method |
Computes the average linkage between the specified clusters.
Namespace:
Novacta.Analytics
Assembly:
Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax public static double AverageLinkage(
DoubleMatrix left,
DoubleMatrix right
)
Public Shared Function AverageLinkage (
left As DoubleMatrix,
right As DoubleMatrix
) As Double
public:
static double AverageLinkage(
DoubleMatrix^ left,
DoubleMatrix^ right
)
static member AverageLinkage :
left : DoubleMatrix *
right : DoubleMatrix -> float
Parameters
- left
- Type: Novacta.AnalyticsDoubleMatrix
The left cluster. - right
- Type: Novacta.AnalyticsDoubleMatrix
The right cluster.
Return Value
Type:
DoubleThe average linkage between the specified clusters.
Exceptions Remarks
A cluster is defined as a set of multidimensional points.
The rows of left or right
are interpreted as the multidimensional points in the cluster.
This method returns the average Euclidean distance between pairs of
individuals in which one belongs to cluster left,
the other to cluster right.
See Also