coresg_graphhdbscan.core.CoreSGModel¶
- class coresg_graphhdbscan.core.CoreSGModel(labels, probabilities, stabilities, condensed_tree_array, single_linkage_tree)[source]¶
Bases:
objectLightweight wrapper that mimics the HDBSCAN attributes used by this package. Stored result object for one fitted
min_samplesvalue.- Parameters:
labels (numpy.ndarray)
probabilities (numpy.ndarray)
stabilities (numpy.ndarray)
condensed_tree_array (numpy.recarray)
single_linkage_tree (numpy.ndarray)
- labels_¶
Cluster labels for each sample.
- Type:
- probabilities_¶
Membership strengths for each sample.
- Type:
- cluster_persistence_¶
Persistence score for each cluster.
- Type:
- cluster_persistence_¶
Cluster persistence values returned by the HDBSCAN*-style cluster selection step.
- Type:
- condensed_tree_¶
Condensed tree object for plotting and inspection.
- Type:
hdbscan.plots.CondensedTree
- __init__(labels, probabilities, stabilities, condensed_tree_array, single_linkage_tree)[source]¶
- Parameters:
labels (numpy.ndarray)
probabilities (numpy.ndarray)
stabilities (numpy.ndarray)
condensed_tree_array (numpy.recarray)
single_linkage_tree (numpy.ndarray)
Methods
__init__(labels, probabilities, stabilities, ...)