Verifies if a clustering function is set. If not, uses the spectral clustering as default clustering method.
Useful links