prediction for set and category