classix.clustering

Functions

calculate_cluster_centers(data, labels)

Calculate the mean centers of clusters from given data.

find_shortest_path([source_node, ...])

Get single-sourse shortest paths as well as distance from source node, design especially for unweighted undirected graph.

get_data([current_dir, name])

Download the built-in data.

loadData([name])

Obtain the built-in data.

novel_normalization(data, base)

Initial data preparation of CLASSIX.

pairs_to_graph(pairs, num_nodes[, sparse])

Transform the pairs represented by list into graph.

pairwise_distances(X)

Calculate the Euclidean distance matrix.

return_csr_matrix_indices(csr_matrix)

Return sparce matrix indices.

visualize_connections(data, splist[, ...])

Calculate the connected components for graph constructed by starting points given radius and scale.

Classes

CLASSIX([sorting, radius, minPts, ...])

CLASSIX: Fast and explainable clustering based on sorting.