Obtaining predicted categories (choosing threshold) | Open Awesome