prediction using ratings