Marginalized Denoising for Link Prediction and Multi-Label Learning