Discriminative Mixed-Membership Models