Sampling Networked Data for Semi-Supervised Learning Algorithms