Predict the class ranking