fast_plscanΒΆ

Public API for the plscan package.

Classes

PLSCAN(*[, min_samples, space_tree, metric, ...])

PLSCAN computes HDBSCAN* leaf-clusters with an optimal minimum cluster size.

Functions

clusters_from_spanning_forest(sorted_mst, ...)

Compute PLSCAN clusters from a sorted minimum spanning forest.

extract_mutual_spanning_forest(graph, *[, ...])

Computes a mutual spanning forest from a sparse CSR distance matrix.

compute_mutual_spanning_tree(data, *[, ...])

Computes a mutual reachability spanning tree from data features using a KDTree.

get_distance_callback(metric, *[, p, V, VI])

Returns a fast distance function callback for the specified metric.

compute_centroids_from_features(data, ...)

Compute probability-weighted centroids from feature vectors.

compute_exemplar_indices_from_trees(...)

Compute exemplar point indices per cluster from fitted tree structures.

compute_medoid_indices_from_features(data, ...)

Compute cluster medoid indices from feature vectors.

compute_medoid_indices_from_graph(graph, ...)

Compute cluster medoid indices from a sparse mutual-reachability graph.