Machine learning: Discriminative and generative