Semi-supervised learning on graphs : a statistical approach