added api for MAP category predictions