Generalized Label Propagation Methods for Semi-Supervised Learning