Analysis and algorithms for ℓ-based semi-supervised learning on graphs