Generative Model, Discriminative Model.
takes a shorter way: it simply estimates conditional probability directly. There are many pros and cons to each of the models. I just note that generative model can be used to generate new samples, but it requires more data. Discriminative model often superior than generative model, given the same