当前位置:网站首页>Binary cross entropy loss function
Binary cross entropy loss function
2022-04-22 02:27:00 【ManiacLook】
Cross entropy loss
Cross entropy :
H(y(i), y ^ \hat{y} y^(i)) = - ∑ j = 0 q \sum_{j=0}^q ∑j=0qyj(i) log y ^ \hat{y} y^j(i)
Where vector y(i) Dimension is (1, q),q Is the number of features . Cross entropy only concerns the prediction probability of the correct category ,y(i) Only one value in the vector is 1, The rest are all 0.
The cross entropy loss function is defined as :
L = 1 n \frac{1}{n} n1 ∑ i = 1 n \sum_{i = 1}^n ∑i=1nH(y(i), y ^ \hat{y} y^(i))
Binary cross entropy loss
L(w) = - ∑ i = 0 N \sum_{i=0}^N ∑i=0N[yilog σ \sigma σ(xi) + (1 - yi)log(1 - σ \sigma σ(xi))]
among , σ \sigma σ(x) yes sigmoid function , namely :
σ \sigma σ(x) = 1 1 + e − z \frac{1}{1 + e^{-z}} 1+e−z1
explain
A visual way to explain logarithmic loss
Detailed explanation of cross entropy
版权声明
本文为[ManiacLook]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220222434913.html
边栏推荐
- Analysis and interpretation of the current situation and challenges faced by enterprise operation and maintenance in the digital era
- [PROJECT] small hat takeout (VII)
- Scala installation and environment configuration
- A general tool class for adding, deleting, querying and modifying databases based on Hikari connection pool
- XSS cross site script attack learning record
- 当人们越是接近产业互联网,就越来越能真正的看清它
- Embedded AI
- 2022 software designer examination knowledge points: linear table
- 面试题:用程序实现两个线程交替打印 0~100 的奇偶数
- 14. System information viewing
猜你喜欢
![[check which package provides the installed packages and commands]](/img/d8/ce76b177937b46c12469ea2bddf565.png)
[check which package provides the installed packages and commands]

Page 78 digital twin + smart building solutions

Shit, someone poisoned my code comments?

Notes: Sword finger offer 04 Search in two-dimensional array -- an error report

Evaluation of arithmetic four mixed operation expression
Analysis of advanced interview questions, Alibaba released the "limited edition" Android zero foundation dictionary
![[论文阅读] Active Class Incremental Learning for Imbalanced Datasets](/img/20/ecfffcdeed6813a6bdb703794a2607.png)
[论文阅读] Active Class Incremental Learning for Imbalanced Datasets

高级UI都没弄明白凭什么拿高薪,劲爆

Alibaba P9 explains high concurrency in detail, and shows you how Taobao can resist large-scale second kill activities such as double 11

Pychar executes multiple script files at the same time
随机推荐
Explain the mathematical process of neural network like a pile of LEGO
YOLOv3论文翻译
In PostgreSQL, convert a string to an integer or floating-point type in the query result
Swift 通用类型AnyObject与Any的使用
[timing] dcrnn: a spatiotemporal prediction network for traffic flow prediction combining diffusion convolution and GNN
Why can the Internet industry attract more and more young people? Especially programmers
Basic operation of MySQL database ------ (basic addition, deletion, query and modification)
14.系统信息查看
3D album template (size can be changed)
Pychar executes multiple script files at the same time
《k3s 源码解析2 ----master逻辑源码分析》
Swift 泛型的使用
XSS cross site script attack learning record
The advanced UI doesn't understand why they can get a high salary. It's hot
Detailed implementation of single layer neural network
Golang 1.8 generic testing
XSS跨站脚本攻击学习记录
14. System information viewing
Nacos 为什么这么强
SQLSERVER解析JSON时string value中换行符问题