当前位置:网站首页>Nce detail of softmax approximation
Nce detail of softmax approximation
2022-07-03 03:15:00 【ChaoFeiLi】
When contacting comparative learning , I saw it NCE loss, Afraid that this blog will disappear , So I specially came to record .
Easy to understand and explain nce loss? - You know
Problems related to classification in deep learning will involve softmax The calculation of . When there are fewer target categories , Use standard softmax It's OK to calculate by formula , When there are many target categories , It is necessary to adopt the method of approximate estimation to simplify softmax Calculation of normalization in .
Take the language model in natural language as an example , From theory to practice, the detailed explanation is based on sampling softmax The approximate method of NCE.
Theoretical review
Logical regression and softmax Regression is two basic classification models , They all belong to linear models . The former mainly deals with the problem of classification , The latter mainly deals with multi classification problems . in fact softmax Regression is the general form of logical regression .
Logistic Regression
Logistic regression model ( function / hypothesis ) by :

Softmax Regression
边栏推荐
- Yiwen takes you to know ZigBee
- How to limit the size of the dictionary- How to limit the size of a dictionary?
- el-tree搜索方法使用
- vfork执行时出现Segmentation fault
- 为什么线程崩溃不会导致 JVM 崩溃
- BigVision代码
- File rename
- The difference between componentscan and componentscans
- 使用InputFilter限制EditText时踩坑及解决方案
- 敏捷认证(Professional Scrum Master)模拟练习题
猜你喜欢
![MySQL practice 45 lecture [row lock]](/img/71/344daddee537a96f0d38241e6896e1.png)
MySQL practice 45 lecture [row lock]

Vs 2019 configure tensorrt to generate engine

Vs Code configure virtual environment

Creation and destruction of function stack frame

VS 2019配置tensorRT

Spark on yarn资源优化思路笔记
![MySQL practice 45 lecture [transaction isolation]](/img/a5/5420651d6be51e892976f02be8c43c.png)
MySQL practice 45 lecture [transaction isolation]

Docker install MySQL

Distributed transaction
![MySQL Real combat 45 [SQL query and Update Execution Process]](/img/cd/3a635f0c3bb4ac3c8241cb77285cc8.png)
MySQL Real combat 45 [SQL query and Update Execution Process]
随机推荐
MySql實戰45講【SQL查詢和更新執行流程】
I2C 子系统(四):I2C debug
别再用 System.currentTimeMillis() 统计耗时了,太 Low,StopWatch 好用到爆!
[combinatorics] number of solutions of indefinite equations (number of combinations of multiple sets R | number of non negative integer solutions of indefinite equations | number of integer solutions
Opengauss database development and debugging tool guide
I2C 子系統(四):I2C debug
The XML file generated by labelimg is converted to VOC format
What happens between entering the URL and displaying the page?
二进制流转换成字节数组
Force freeing memory in PHP
MySql实战45讲【事务隔离】
Force deduction ----- the minimum path cost in the grid
用docker 連接mysql的過程
vfork执行时出现Segmentation fault
@Accessors注解作用指定前缀遵守驼峰命名
Hi3536C V100R001C02SPC040 交叉编译器安装
New programmers use the isXXX form to define Boolean types in the morning, and are discouraged in the afternoon?
C # general interface call
I2C subsystem (II): I3C spec
I2C 子系统(三):I2C Driver