| ClusterAnalysisCopheneticDistances Property |
Gets the vector of cophenetic distances between all possible object
pairs.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoubleVector CopheneticDistances { get; }
Public ReadOnly Property CopheneticDistances As DoubleVector
Get
public:
property DoubleVector^ CopheneticDistances {
DoubleVector^ get ();
}
member CopheneticDistances : DoubleVector with get
Property Value
DoubleVectorRemarks
The cophenetic distance between two objects 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:
ClusterAnalysis ca = new ClusterAnalysis( data );
double r = NMathFunctions.Correlation( ca.Distances, ca.CopheneticDistances );
See Also