|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home ChartPack Dendrogram Methods CalcClasses|
|See also: ShowClassColors, ClassColors, RetrieveClusterClasses, SetClassSubTree|
The method CalcClasses assigns a class number to each data object by evaluating the distance between the found clusters. If the distance between two clusters is greater than the Threshold value then the corresponding cluster and all its data objects are assigned to a new class. The resulting class numbers are stored in the row attributes of the Data array. The function returns a TRUE value if the number of found classes exceeds the maximum class number (255). In this case the class assignment is invalid.
The following image clarifies the application of CalcClasses: the dendrogram has been "colored" by assigning common class numbers to all objects whose clustering distance is below the threshold value (indicated by the dashed line).