On estimating simple probabilistic discriminative models with subclasses