CL HD - Classification - Hierarchical, get number of classes

(03/21/13)

PURPOSE

Calculates number of classes for given threshold from a dendrogram. This operation only works in conjunction with hierarchical clustering output from 'CL HC' or 'CL CLA'.
See: Classification and Clustering Tutorial for further info.   Example.

SEE ALSO

CL CLA [Classification - Automatic]
CL HC [Classification - Controlled]
CL HE [Classification - Hierarchical, create cluster selection files]

USAGE

.OPERATION: CL HD

.CUTOFF THRESHOLD % (0-100): 20
[Enter the scale value at which the dendrogram will be cut/truncated. Classes with indices below the threshold will be merged. If the threshold is zero no merger is done and the classes retain their original numbers. For threshold > 0 classes are renumbered.]

.DENDOGRAM DOCUMENT FILE: DEND_CL
[Enter name of the untruncated dendrogram document file containing classification tree produced by 'CL CLA' or 'CL HC').]

.DOCUMENT FILE: DEND_NUM
[Enter the document file name which will contain number of objects belonging to each class.]

NOTES

  1. To get selection doc files corresponding to a given "cutting" use command 'CL HE'.

  2. Implemented by P. Penczek.

SUBROUTINES

HDLS

CALLER

UTIL1