Ranking with Adaptive Neighbors