Latent Class Discriminant Analysis