Gets the vector of cophenetic distances between all possible element
pairs resulting from the hierarchical cluster analysis.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public DoubleVector CopheneticDistances { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property CopheneticDistances As DoubleVector |
| Visual C++ |
|---|
public: property DoubleVector^ CopheneticDistances { DoubleVector^ get (); } |
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:
CopyC#
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:
double r = StatsFunctions.Correlation( distances, copheneticDistances );