Network Prediction with Degree Distributional Metric Learning