DendrogramNode Class

Represents a node in a dendrogram.

Definition

Namespace: Extreme.Statistics.Multivariate
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public class DendrogramNode
Inheritance
Object  →  DendrogramNode

Remarks

Use the DendrogramNode class to access the results of a HierarchicalClusterAnalysis in a dendrogram representation. A dendrogram is a tree-like structure that shows the complete history of how the analysis was performed.

The IsLeaf property indicates whether the cluster is a leaf node (an observation from the original data set), or a merged cluster. The ObservationIndex returns the index of this observation. The LeftChild and RightChild properties specify the two clusters that were merged, while DistanceMeasure returns the distance between the two merged clusters. Level returns the number of nodes between the current node and the root node. The root node is at level 0.

A dendrogram is also useful to give a graphical representation of the results. The Position property gives the horizontal position of the node. The leaf nodes (observations) have integer positions that correspond to their dendrogram order and can be used as one coordinate. It is centered over the two clusters that were merged. The DistanceMeasure or Level properties can be used as the other coordinate.

Properties

DistanceMeasure Gets the distance measure between the two nodes of an agglomeration.
IsLeaf Gets whether the node represents a leaf or an agglomeration.
LeftChild Gets the left child of the node.
Level Gets the number of nodes between this node and the root of the dendrogram.
ObservationIndex Gets the index of the cluster. If the cluster is an agglomeration, then -1 is returned.
Position Returns the horizontal position of the node.
RightChild Gets the right child of the node.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also