Classification via Spectral Clustering