当前位置:网站首页>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.
边栏推荐
- 關於一道教材題的講解
- When the input tag type is number, the input of E, e, -, + is blocked
- QT memory mapping
- Rust,程序员创业的最佳选择?
- 关于一个图书小系统的实现
- sigmoid函数sigmoid求导
- 初始c语言时的一些知识
- Parabolic motion in unity 2D games
- Solving error: creating window glfw error: glew initialization error: missing GL version
- leetcode:456. 132 mode [monotone stack]
猜你喜欢

Drago Education - typescript learning

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

shell 运算符

Explanation of a textbook question

shell 数组

Discuz仿今日头条模板/Discuz新闻资讯商业版GBK模板
![leetcode:456. 132 mode [monotone stack]](/img/fa/44a5194b244f30383409ef40966453.png)
leetcode:456. 132 mode [monotone stack]

Rust,程序員創業的最佳選擇?

NVM installation and use tutorial

Some knowledge of the initial C language
随机推荐
Explain the possible memory leaks caused by the handler at one time and the solutions | the developer said · dtalk
Table de hachage, conflit de hachage
Rust,程序員創業的最佳選擇?
作为一名软件测试工程师你认为怎么样才能保证软件质量?
Vscode--- format setting configuration
Windows下MySQL的安装和删除
学习编程的起点。
Discuz copy today's headlines template /discuz news and information business GBK template
Nova中的api
分类器与cross entropy loss函数
国信证券股票开户是安全的吗?
历史上的今天:网易成立;首届消费电子展召开;世界上第一次网络直播
shell 内置命令
阻止深度神经网络过拟合(Mysteries of Neural Networks Part II)
触觉智能分享-RK3568在金融自助终端的应用
打新债是不是不安全
哈希錶、哈希沖突
NVM installation and use tutorial
JS prototype. slice. call(arguments); Convert pseudo array to array
Scope of ES6 variable