Optimizing adaptive sampling via Policy Ranking