当前位置:网站首页>Tools to measure the gap between two distributions: cross entropy and KL divergence
Tools to measure the gap between two distributions: cross entropy and KL divergence
2022-07-18 13:30:00 【Wsyoneself】
- Cross entropy :
- entropy = Best average coding
- Entropy reflects the uncertainty of events in information theory , The greater the entropy , The more uncertain the event is , The more dispersed the possibilities , Then the information must be longer
- Put it from a distribution q Of messages using another distribution p The average message length conveyed by the best code becomes cross entropy .

- p and q The more different the length of ,p be relative to q The cross entropy of will be greater than p The entropy of
- Cross entropy is often used as the loss function of classifiers
KL The divergence : The difference between entropy and cross entropy , If the two distributions are the same , The difference is 0, This difference is KL The divergence :

Likelihood function is our objective function . If you put a minus sign in front of it , It turns into a loss function .
边栏推荐
- 衡量两个分布的差距的工具:交叉熵和KL散度
- 洛谷_P3383 【模板】线性筛素数_欧氏筛筛素数
- ES6 note 2
- 动态炫酷的404页面源码
- EFCore——Entry和Attach
- 剑指 Offer 46. 把数字翻译成字符串
- Use PSSH to execute commands on multiple hosts in batches
- Work method record
- Expert routine of BW conversion based on AMDP
- After Jay Chou's co branded model, Fang Wenshan brought online shopping to promote the collection of "Hualiu" top-level co branded dolls
猜你喜欢

软件测试月薪28K大厂面试题 (经面试官允许可以拿走试卷)

Software testing zero basic testing - Basic Concepts

Opencvsharp (C openCV) pointer method reads and modifies image pixel values (with source code)

剑指 Offer 18. 删除链表的节点

EXCEL,选择数据如何选择合适的图表?

西山居如何用 ONES 打造游戏工业流水线?|ONES 行业实践
![[RT thread] NXP rt10xx sfud and fal component construction and use](/img/1e/aa636c7a986f24b715b7f30e9c0c98.png)
[RT thread] NXP rt10xx sfud and fal component construction and use

Qunhui 7.1 add hard disk with SHR

constrained graphic layout generation via latent optimization

剑指 Offer 28. 对称的二叉树
随机推荐
Task-Customized Self-Supervised Pre-training with Scalable Dynamic Routing
『HarmonyOS』探索HarmonyOS应用
312312dd
[machine learning] automatic encoder - autoencoder
模板_欧氏筛_素数
Bluetooth technology | the first Bluetooth Le audio compatible devices will be launched this year, and the endurance of Bluetooth headsets will be improved by leaps and bounds
Dynamic cool 404 page source code
[sword finger offer] print the linked list (stack idea) + repeated numbers in the array (hash mapping) from end to end
Memory management page properties
How to restore the files deleted from the U disk
Exploratory software testing
layoutgan:generating graphic layouts with wiregrame discriminators
node请求页面时自动下载
傲梅輕松克隆系統盤備份
How to choose a desktop multimeter?
剑指 Offer 42. 连续子数组的最大和
Global location number Gln application introduction
The static variable looks a little dizzy, and the GDB assembly is awake
剑指 Offer 26. 树的子结构
一篇理解MapStruct领域转换工具!