Click or drag to resize

OrderedConnectivityMatrixCopheneticDistances Property

Gets the vector of cophenetic distances between all possible element pairs resulting from the hierarchical cluster analysis.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleVector CopheneticDistances { get; }

Property Value

DoubleVector
Remarks
The cophenetic distance between two elements is defined to be the intergroup distance when the objects are first combined into a single cluster in the linkage tree.
The format is the same as the distance vector returned by Distances.
The correlation between the original Distances and the CopheneticDistances is sometimes taken as a measure of appropriateness of a cluster analysis relative to the original data:
C#
double r = NMathFunctions.Correlation( distances, copheneticDistances );
See Also