Generative model and discriminative model


Discriminative models

  • Model P(Y|X)

  • Construct a single model for all the data

  • Predict labels based on observed data

  • Requires fewer data, fast, good performance even with small dataset


Generative models

  • Model P(X,Y)

  • Need to construct a model for each label (yi). During prediction, select yi based on the highest probability from each of the model of yi. So no boundary.

  • Need a lot of data to build the model, but the information is complete. Can do more than predicting labels.



Last Article Next article

Comment 评论



Share 分享

New Users 最新加入

  • hokurikustr

  • refrain

New comments 最新评论

test123: aasdas Details Apr 13 16:39
admin: Thanks! Details Apr 09 11:46
admin: Google map api Details Apr 09 11:46
lqj12: cooooooooool Details Apr 08 21:34
Yunhan Huang: 这个功能是如何实现的? Details Apr 08 13:23