Consistency of anchor-based spectral clustering (Information and inference)