I wrote more in this stackoverflow answer.

SVMs and decision trees are discriminative because they learn explicit boundaries between classes. SVM is a maximal margin classifier, meaning that it learns a decision boundary that maximizes the distance between samples of the two classes, given a kernel. The distance between a sample and the learned decision boundary can be used to make the SVM a “soft” classifier. DTs learn the decision boundary by recursively partitioning the space in a manner that maximizes the information gain (or another criterion).

Generative Discriminative
Supervised Naive Bayes, Exemplar-CNN SVM, logistic regression, deep neural networks
Unsupervised LDA, normalizing flows monocular depth and optical flow models
Figure 1: Machine Learning A Probabilistic Perspective by Murphy, Kevin P. (2012)

Figure 1: Machine Learning A Probabilistic Perspective by Murphy, Kevin P. (2012)

Resources πŸ”—