当前位置:网站首页>Discriminative v.s.Generative
Discriminative v.s.Generative
2022-06-25 13:55:00 【Zi Yan Ruoshui】
For example, to understand :
Suppose we have two kinds of animals , Elephant ( y = 1) And dogs ( y = 0).x It's the eigenvector of the animal .
Given a training set , Logistic regression or perceptron algorithm ( Basically ) Trying to find a straight line —— That's the decision boundary —— Separate the elephant from the dog . then , To classify new animals as elephants or dogs , It checks which side of the decision boundary it falls on , And make corresponding predictions . We call these Discriminant learning algorithm .
This is a different way . First , Look at the elephant , We can build a model of what an elephant looks like . then , Look at the dog , We can build a separate model to understand what a dog looks like . Last , In order to classify new animals , We can match the new animal to the elephant model , And match it with the dog model , See if the new animal looks more like an elephant or more like the dog we saw in the training set . We call these Generative learning algorithm .
Definition understanding :
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.
边栏推荐
- Openstack -- creating virtual machines for Nova source code analysis
- Deeply understand the mathematics behind deep neural networks (mysteries of neural networks Part I)
- 多台云服务器的 Kubernetes 集群搭建
- 阻止深度神经网络过拟合(Mysteries of Neural Networks Part II)
- Kubernetes cluster construction of multiple ECS
- K-line diagram 24 classic diagrams (shadow)
- Drago Education - typescript learning
- Numpy库使用入门
- 深入理解深度神经网络背后的数学(Mysteries of Neural Networks Part I)
- The priority of catch() and then (..., ERR) of promise
猜你喜欢

电脑必须打开的设置

Network remote access using raspberry pie

VGA display of de2-115 FPGA development board

leetcode:918. 环形子数组的最大和【逆向思维 + 最大子数组和】

Mise en place d'un Cluster kubernets avec plusieurs serveurs Cloud

NR-ARFCN和信道栅格、同步栅格和GSCN

Realization of neural networks with numpy

"Mobile cloud Cup" computing power network application innovation competition is in hot registration!
![leetcode:456. 132 mode [monotone stack]](/img/fa/44a5194b244f30383409ef40966453.png)
leetcode:456. 132 mode [monotone stack]

shell 字符串变量
随机推荐
"Mobile cloud Cup" computing power network application innovation competition is in hot registration!
The starting point for learning programming.
Cesium--- figure loading
Asp.net WebForm使用NPOI导出Excel
NR-ARFCN和信道栅格、同步栅格和GSCN
leetcode:456. 132 模式【单调栈】
Rust, the best choice for programmers to start a business?
学习编程的起点。
“移动云杯”算力网络应用创新大赛火热报名中!
对白:推荐系统快速入门路线及各知识点总结
Openstack learning notes -nova component insight
使用调试工具调试博图TCP连接所遇到的问题
QT memory mapping
API in Nova
Application of tactile intelligent sharing-rk3568 in financial self-service terminal
Explain the possible memory leaks caused by the handler at one time and the solutions | the developer said · dtalk
Websocket -- reverse proxy to solve cross domain problems
Nova中的api
Settings the PC must be turned on
‘nvidia-smi‘ 不是内部或外部命令,也不是可运行的程序或批处理文件