当前位置:网站首页>Small sample learning - getting started
Small sample learning - getting started
2022-07-26 01:00:00 【Falling gold】
The term
Support Set / Query Set and N-way k-shot
Traditional image classification

Small sample learning
The effect of small sample learning :
- Give the model a query sample (query set), This sample belongs to a new , Classes you haven't seen before ,
- Give it a support set S(support set), The model must use the information from the support set to learn to query set To classify . The support set consists of n One from k Sample composition of different invisible classes , This is it. N-way k-shot
Be careful N and k By Testing data Decisive , And Training data irrelevant ;
How to start from the original training dataset and testing dataset Get these Support set and Query set Well ?

In the box on the right testing data It can also mean this :

training Will provide a large number of sample , Make model learn to learn.training The class of procedure is called base class.
testing There are only a few samples in the process , test model few shot learning The ability of .testing It contains training A new class that I haven't seen before (novel class)
episode
stay Matching networks In this paper, the definition of training cycle is put forward episodes The concept of , To distinguish big data training epochs, stay episodes In the cycle , All for the service of few-shot Subcategory sample training of tasks , This subcategory is different from epochs Training of sub samples in all categories ,. quite a lot meta-learning I also like to use episodes This word , And the corresponding neural network mini-batch It's more appropriate .
give an example :20-way 5-shot problem :
- Every episodes extracted 20 Categories , Not all categories ( Tradition softmax Classification training should load all categories );
- Each category has 5 individual examples Available for training , Because there are still points in training support-sets+query-sets,5-shots The scenario needs at least 5+1 A sample , At least one query example Where to support-sets Example of distance ( classification ) Judge .
- The test set can be transformed into 5-way 1-shot And so on to evaluate the generalization ability of the model .
- Last of all epoch Also set how many episodes To form a , It seems that everyone likes to use 1000 As a typical value .
domain gap / catagory gap
Used to describe data set differences
domain gap: Here's the picture , It may be the same kind , But clarity , The light is different

category gap: Different kinds
Reference material
边栏推荐
- ZABBIX monitoring host and resource alarm
- [RTOS training camp] task scheduling (Continued), task comity, scheduling summary, queue and evening class questions
- 数据写入excel并填充颜色
- 【ctf】Crypto初步基础概要
- AI knows everything: build and deploy sign language recognition system from 0
- Unity get the animation being played
- Some abnormal error reports and precautions of flowable (1)
- 爬虫小操作
- Talk about "people" in the R & D team
- 如何mysql只要重复数据?
猜你喜欢

我们没有退路了
![[RTOS training camp] ring buffer, at instruction, preview arrangement and evening class questions](/img/cb/de38e9f4186c4392ef8832659422ff.jpg)
[RTOS training camp] ring buffer, at instruction, preview arrangement and evening class questions

RHCE之at和crontab命令详解及chrony部署

985高校副教授晒年薪,公积金顶普通人月薪,网友:不愧是在上海

Save unhappiness! My robot psychologist; KPI tracking of machine learning; Pytorch implementation of Yolo V7; Li Hang's new book "machine learning methods" open trial | showmeai Information Daily

编程学习过程中有哪些快速提高编程技巧的方法?

Unityvr robot Scene 3 gripper

109. Upload local files using SAP ui5 fileuploader control

SQL statement exercise

Set set learning
随机推荐
How can a team making facial mask achieve a revenue of more than 1 million a day?
如何mysql只要重复数据?
使用 SAP UI5 FileUploader 控件上传本地文件试读版
【MATLAB appdesigner】27_ How to debug and view variables in appdesigner? (examples + skills)
Amin's confession
【秒杀概念】大小端
109. Upload local files using SAP ui5 fileuploader control
【RTOS训练营】GPIO知识和预习安排 + 晚课提问
参数解析器HandlerMethodArgumentResolver分析与实战
[oops framework] interface management
南姐的糗事
Hcip day 13
Travel + strategy accelerated landing, jietu new product matrix exposure
It will be easier to implement MES system by doing well in these four stages
[RTOS training camp] review of the previous section, idle tasks, timer tasks, execution sequence, scheduling strategy and evening class questions
[array creation in numpy]
Lock upgrade: no lock, bias lock, lightweight lock, heavyweight lock
Implementation process of adding loading effect to easycvr page
Spine_附件皮肤
Hcip day 11