- Hands-On Generative Adversarial Networks with Keras
- Rafael Valle
- 286字
- 2021-06-24 14:33:54
Discriminative and generative models compared
Broadly speaking, machine learning models can be subdivided into discriminative models and generative models. Discriminative models learn a map from some input to some output. In discriminative models, learning the process that generates the input is not relevant; it will just learn a map from the to the expected output.
Generative models, on the other hand, in addition to learning a map from some input to some output, also learn the process that generates the input and the output.

In this context, we say that discriminative models estimate : the conditional probability distribution of
conditioned on
. Note that, in this case, the input x is fixed, known a priori, and the discriminative model estimates the probability of
,
, but does not have any information about the marginal distribution of
nor
independent of the other variables,
and
respectively. Discriminative models can be used to learn a map,
,that produces outputs that approximates the distribution
.
Generative models, on the other hand, estimate : the joint probability distribution of x and y. The joint probability distribution is symmetric and can be written as
. Generative models can be used to learn a map,
,that approximates the distribution
.
By estimating and knowing that the joint probability is symmetrical, we can use Bayes' theorem to obtain
and
,as we briefly describe below:

By moving around the terms and
on the second and third equation we derive Bayes' theorem:

- Hands-On Intelligent Agents with OpenAI Gym
- 三菱FX3U/5U PLC從入門到精通
- Drupal 7 Multilingual Sites
- WOW!Illustrator CS6完全自學(xué)寶典
- SharePoint 2010開發(fā)最佳實(shí)踐
- 數(shù)據(jù)庫原理與應(yīng)用技術(shù)
- 大型數(shù)據(jù)庫管理系統(tǒng)技術(shù)、應(yīng)用與實(shí)例分析:SQL Server 2005
- 21天學(xué)通Java Web開發(fā)
- Troubleshooting OpenVPN
- 學(xué)會(huì)VBA,菜鳥也高飛!
- SAP Business Intelligence Quick Start Guide
- 教育機(jī)器人的風(fēng)口:全球發(fā)展現(xiàn)狀及趨勢(shì)
- 奇點(diǎn)將至
- INSTANT Adobe Story Starter
- 空間機(jī)器人智能感知技術(shù)