A tree node class for representing a cluster. Leaf nodes correspond to original observations, while non-leaf nodes correspond to non-singleton clusters.
The to_tree function converts a matrix returned by the linkage function into an easy-to-use tree representation.
Seealso : |
|
---|
Methods
get_count | |
get_id | |
get_left | |
get_right | |
is_leaf | |
pre_order |