General Interface for GRFClassifier (Label propagation using Gaussian Random Fields and Harmonic) model