当前位置:网站首页>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.
边栏推荐
- Vscode--- format setting configuration
- Include what you use to save chaotic header files
- Nova组件源码分析之冷迁移与Resize
- [pit avoidance refers to "difficult"] halfcheckedkeys rendering problem in semi selected status of antd tree
- Cesium learning notes
- DE2-115 FPGA开发板的VGA显示
- Rust,程序員創業的最佳選擇?
- It's an artifact to launch a website in a few minutes
- SSH secret free function for # scripting
- The starting point for learning programming.
猜你喜欢

Application of tactile intelligent sharing-rk3568 in financial self-service terminal

About data storage in memory

leetcode:456. 132 模式【单调栈】

关于猜数字游戏的实现

Scope of ES6 variable

Method for wrapping multiple promise instances into a new promise instance

Kubernetes cluster construction of multiple ECS

深入理解深度神经网络背后的数学(Mysteries of Neural Networks Part I)

Data acquisition system gateway acquisition plant efficiency

删库跑路、“投毒”、改协议,开源有哪几大红线千万不能踩?
随机推荐
Qt内存映射
關於數據在內存中的存儲下
Insight into heap and stack stored in new string() /string() in JS
Untiy force refresh UI
Shenzhen mintai'an intelligent second side_ The first offer of autumn recruitment
国信证券股票开户是安全的吗?
OpenStack学习笔记(一)
Vscode--- format setting configuration
Include what you use to save chaotic header files
关于猜数字游戏的实现
The starting point for learning programming.
Kubernetes cluster construction of multiple ECS
turtlebot+lms111+gmapping实践
国信证券股票账户开户安全吗?请问。
Is it safe for Guosen Securities to open a stock account? Excuse me?
触觉智能分享-RK3568在金融自助终端的应用
【开源鸿蒙系统展示】RK3568开发板搭载OpenHarmony 3.1 Release
Mise en place d'un Cluster kubernets avec plusieurs serveurs Cloud
解决报错:Creating window glfw ERROR: GLEW initalization error: Missing GL version
Related examples of data storage in memory