coresg_graphhdbscan.core.CoreSGModel

class coresg_graphhdbscan.core.CoreSGModel(labels, probabilities, stabilities, condensed_tree_array, single_linkage_tree)[source]

Bases: object

Lightweight wrapper that mimics the HDBSCAN attributes used by this package. Stored result object for one fitted min_samples value.

Parameters:
labels_

Cluster labels for each sample.

Type:

numpy.ndarray

probabilities_

Membership strengths for each sample.

Type:

numpy.ndarray

cluster_persistence_

Persistence score for each cluster.

Type:

numpy.ndarray

single_linkage_tree_

Single-linkage tree wrapper.

Type:

object

cluster_persistence_

Cluster persistence values returned by the HDBSCAN*-style cluster selection step.

Type:

numpy.ndarray

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:

Methods

__init__(labels, probabilities, stabilities, ...)