Data-Driven Rank Prediction Algorithm