FOSC

class FOSC.fosc.FOSC(dist_mat, linkage_method, mClSize=4)

Bases: object

WARNING_MESSAGE = '----------------------------------------------- WARNING -----------------------------------------------\nWith your current settings, the cluster stability is not well-defined. It could receive\n\n                    infinite values for some data objects, either due to replicates in the data (not a set) or due to numerical\n\n                    roundings (this does not affect the construction of the clustering hierarchy). For this reason,\n\n                    the post-processing routine to extract a flat partition containing the most stable clusters may\n\n                    produce unexpected results. It may be advisable to increase the value of mClSize.\n\n                    -------------------------------------------------------------------------------------------------------"""\n      '
findProminentClusters(rootTree, infiniteStability)
getHierarchy()
getHierarchyMatrix()
getZ()
propagateTree(**kwargs)

Propagates constraint satisfaction, stability, bcubed index, and lowest child death level from each child cluster to each parent cluster in the tree. This method must be called before calling findProminentClusters()

Returns:

bool

Return type:

True if there are any clusters with infinite stability, False otherwise