Non-parametric Link Prediction