当前位置:网站首页>Discriminative v.s.Generative
Discriminative v.s.Generative
2022-06-25 13:18:00 【子燕若水】
举例理解:
假设我们有两类动物,大象 ( y = 1) 和狗 ( y = 0)。x是动物的特征向量。
给定一个训练集,逻辑回归或感知器算法(基本上)试图找到一条直线——即决策边界——将大象和狗分开。然后,为了将新动物分类为大象或狗,它会检查它落在决策边界的哪一侧,并做出相应的预测。我们将这些称为判别学习算法。
这是一种不同的方法。首先,看大象,我们可以建立一个大象长什么样的模型。然后,看看狗,我们可以建立一个单独的模型来了解狗的样子。最后,为了对新动物进行分类,我们可以将新动物与大象模型进行匹配,并将其与狗模型进行匹配,看看新动物看起来更像大象还是更像我们在训练集中看到的狗. 我们称这些生成学习算法。
定义理解:
More formally, given a set of data instances X and a set of labels Y:
- Generative models capture the joint probability p(X, Y), or just p(X) if there are no labels.
- Discriminative models capture the conditional probability p(Y | X).
A generative model includes the distribution of the data itself, and tells you how likely a given example is. For example, models that predict the next word in a sequence are typically generative models (usually much simpler than GANs) because they can assign a probability to a sequence of words.
A discriminative model ignores the question of whether a given instance is likely, and just tells you how likely a label is to apply to the instance.
Note that this is a very general definition. There are many kinds of generative model. GANs are just one kind of generative model.
边栏推荐
- k线图24种经典图解(影线篇)
- What if the CPU temperature of Dell computer is too high
- 解决报错:Creating window glfw ERROR: GLEW initalization error: Missing GL version
- Drago Education - typescript learning
- NR-ARFCN和信道栅格、同步栅格和GSCN
- Nr-arfcn and channel grid, synchronous grid and GSCN
- Prototype relationship between constructor and instance (1)
- Openstack learning notes (I)
- 1024 hydrology
- OpenStack-----Nova源码分析之创建虚拟机
猜你喜欢

Shenzhen mintai'an intelligent second side_ The first offer of autumn recruitment

Explain the possible memory leaks caused by the handler at one time and the solutions | the developer said · dtalk

关于扫雷的简易实现

Discuz copy today's headlines template /discuz news and information business GBK template

About data storage in memory

关于三子棋游戏的简易实现与N子棋胜利判断方法

Of binary tree_ Huffman tree_ Huffman encoding

sql导入这样怎么解决

Replace element - counter use of content (2)

NVM installation and use tutorial
随机推荐
Openstack -- creating virtual machines for Nova source code analysis
1251- client does not support authentication protocol MySQL error resolution
Of binary tree_ Huffman tree_ Huffman encoding
初始c语言的知识2.0
Unity 2D游戏中的抛物运动
Discuz仿今日头条模板/Discuz新闻资讯商业版GBK模板
学习编程的起点。
##脚本编写ssh免密功能
深入理解深度神经网络背后的数学(Mysteries of Neural Networks Part I)
Rust,程序员创业的最佳选择?
关于一个图书小系统的实现
Scope of ES6 variable
How to determine if a web worker has been created or closed
[pit avoidance refers to "difficult"] antd cascader implements new customized functions
The starting point for learning programming.
数据库中显示error1822,error1824
OpenStack学习笔记之-Nova组件深入了解
Simple realization of mine sweeping
Untiy force refresh UI
Asp.net WebForm使用NPOI导出Excel