Generative model:
1. Model the distribution of individual classes.
2. Interested in how X(feature) and Y(label: green or yellow) occurs at the same time.
3. Uses joint probability: P(x, y) = p(y) * p(x|y)
P(x, y) is the score to determine whether X is either y1(green) or y2(yellow)
Discriminative model: Learn the boundaries between classes.
https://www.youtube.com/watch?v=HHNESCbZqUg&t=215s
https://zhuanlan.zhihu.com/p/146503132
网友评论