当前位置:网站首页>The difference between positive samples, negative samples, simple samples and difficult samples in deep learning (simple and easy to understand)
The difference between positive samples, negative samples, simple samples and difficult samples in deep learning (simple and easy to understand)
2022-07-26 04:20:00 【51CTO】
Catalog
- 1. Before the order
- 2. A term is used to explain
- 3. Illustrate with examples
- 4. reference
1. Before the order
When reading a paper or reading some blogs , This noun often appears : Positive sample 、 Negative sample 、 Simple samples and difficult samples , Recently, in order to deepen my understanding of this aspect , Refer to some information on the Internet , Sort out the differences between these , It's convenient for you to view and for beginners to quickly understand .
2. A term is used to explain
Positive sample : For the target category corresponding to the truth value, the sample is a positive sample .
Negative sample : This sample is a negative sample for all other target categories that do not correspond to the true value .
Simple sample : Samples with small error between prediction and truth label .
Difficult samples : Samples with large error between prediction and truth label .
Under the supplement : The truth value is actually the value of the sample we chose , For example, the current sample is cats , Other dogs 、 Horses and the like are not really worth it .
3. Illustrate with examples
We use cat dog classification as an example to illustrate what positive and negative samples are :
label = dog All the pictures are A positive sample of this class , Other pictures as negative samples
label = cat All the pictures are A positive sample of this class , Other pictures as negative samples
Empathy , In the target detection task
box The target object in is the positive sample , No target object , That is the prospect , As a negative sample
Next, we are using image classification to illustrate what is a simple and difficult sample :
If we need to identify horses 、 sheep 、 There are three categories of cattle .
Give a picture of a horse . For prediction, this sample is Positive sample , For predicting sheep and cattle, the sample is Negative sample .
Truth value one-hot label :[1, 0, 0], When the probability distribution is predicted to be [0.3, 0.3, 0.4] when ,
Truth value one-hot Labels differ greatly , Then the sample is Difficult samples .
And predicted [0.98, 0.01, 0.01] when , And truth one-hot The label difference is small , Then the sample is Simple sample .
For difficult samples, because the truth value one-hot label [1,0,0] According to our artificial thinking, the probability of this picture of a horse is 1, But the predicted probability is 0.3, This is far from reality , So we call such samples difficult samples .
4. reference
1. The literature 1 2. The literature 2
边栏推荐
- How to write abstract in English thesis?
- 华为再发“天才少年”全球召集令,有人曾放弃360万年薪加入
- 【SVN】一直出现 Please execute the ‘Cleanup‘ command,cleanup以后没有反应的解决办法
- Leetcode:1184. Distance between bus stops -- simple
- What model is good for the analysis of influencing factors?
- Soft simulation rasterization renderer
- 图互译模型
- The era of smart clothes has come. Zhinar invites you to discuss swords in Yangcheng. Guangya Exhibition is waiting for you on August 4
- [project chapter - how to write and map the business model? (3000 word graphic summary suggestions)] project plan of innovation and entrepreneurship competition and application form of national Entrep
- 规则引擎Drools的使用
猜你喜欢

Pat class a 1039 course list for student

I.MX6U-ALPHA开发板(主频和时钟配置实验)

APISIX 在 API 和微服务领域的探索

Recommendation | DBT skills training manual: baby, you are the reason why you live

当你尝试删除程序中所有烂代码时 | 每日趣闻

dijango学习

Acwing brush questions

Mantium 如何在 Amazon SageMaker 上使用 DeepSpeed 实现低延迟 GPT-J 推理
![[project chapter - how to write and map the business model? (3000 word graphic summary suggestions)] project plan of innovation and entrepreneurship competition and application form of national Entrep](/img/e8/b115b85e2e0547545e85b2058a9bb0.png)
[project chapter - how to write and map the business model? (3000 word graphic summary suggestions)] project plan of innovation and entrepreneurship competition and application form of national Entrep
![Matrix and Gauss elimination [matrix multiplication, Gauss elimination, solving linear equations, solving determinants] the most detailed in the whole network, with examples and sister chapters of 130](/img/84/e5cb5199fe4602440b50dfc4afe963.gif)
Matrix and Gauss elimination [matrix multiplication, Gauss elimination, solving linear equations, solving determinants] the most detailed in the whole network, with examples and sister chapters of 130
随机推荐
Inventory the concept, classification and characteristics of cloud computing
Comprehensive evaluation and decision-making method
The era of smart clothes has come. Zhinar invites you to discuss swords in Yangcheng. Guangya Exhibition is waiting for you on August 4
Credit card fraud detection based on machine learning
生活相关——十年的职业历程(转)
解决:RuntimeError: Expected object of scalar type Int but got scalar type Double
规则引擎Drools的使用
数据库连接数查看和修改
RTSP/Onvif协议视频平台EasyNVR服务一键升级功能的使用教程
构建关系抽取的动词源
MySQL日志分类:错误日志、二进制日志、查询日志、慢查询日志
PathMatchingResourcePatternResolver解析配置文件 资源文件
Matrix and Gauss elimination [matrix multiplication, Gauss elimination, solving linear equations, solving determinants] the most detailed in the whole network, with examples and sister chapters of 130
What model is good for the analysis of influencing factors?
Matlab drawing
2.9.4 Boolean object type processing and convenient methods of ext JS
雅迪高端之后开始变慢
APISIX 在 API 和微服务领域的探索
测试用例设计方法之——招式组合,因果判定
低成本、快速、高效搭建数字藏品APP、H5系统,扇贝科技专业开发更放心!