Discriminative probabilistic latent variable model