performs regularized spectral clustering of a sparse adjacency matrix
spectral(X, K)
An adjacency matrix in sparse format (see the Matrix
package)
Desired number of cluster
cl Vector of cluster labels
Tai Qin, Karl Rohe. Regularized Spectral Clustering under the Degree-Corrected Stochastic Block Model. Nips 2013.