predicted rating calculation