classix.clustering

Functions

calculate_cluster_centers(data, labels)

Calculate the mean centers of clusters from given data.

cython_is_available([verbose])

Check if CLASSIX is using Cython.

euclid(xxt, X, v)

find_shortest_dist_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 sample data.

loadData([name])

Load built-in sample data.

normalization(data, base)

Initial data preparation of CLASSIX.

pairwise_distances(X)

Calculate the Euclidean distance matrix.

return_csr_matrix_indices(csr_mat)

Return sparce matrix indices.

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

Calculate the connected components for graph constructed by group centers given radius and mergeScale.

Classes

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

CLASSIX: Fast and explainable clustering based on sorting.

Exceptions

NotFittedError

Exception class to raise if estimator is used before fitting.