cr.sparse.cluster.spectral.SpectralclusteringSolution

class cr.sparse.cluster.spectral.SpectralclusteringSolution(laplancian: jax.Array, singular_values: jax.Array, assignment: jax.Array, num_clusters: int, connectivity: float)[source]

The solution for K-means algorithm

Attributes

assignment

Current assignment of points to centroids

connectivity

Graph connectivity

laplancian

The Laplacian

num_clusters

The number of clusters

singular_values

Singular values of the Laplancian