performs regularized spectral clustering of a sparse adjacency matrix

spectral(X, K)

Arguments

X

An adjacency matrix in sparse format (see the Matrix package)

K

Desired number of cluster

Value

cl Vector of cluster labels

References

Tai Qin, Karl Rohe. Regularized Spectral Clustering under the Degree-Corrected Stochastic Block Model. Nips 2013.