当前位置:网站首页>[foundation of deep learning] back propagation method (1)
[foundation of deep learning] back propagation method (1)
2022-06-12 11:48:00 【Programmer Xiao Li】
We have already learned the learning process of neural network , The minimum value of the cost function is approached by the gradient descent method , And then continuously update the weight , Get the best parameters .
however , The previous gradient calculation , The method of central difference is adopted , It's complicated to calculate , Now let's start to learn an efficient gradient calculation method —— Back propagation .
The concept of computational graph
Bought... In the supermarket 2 individual 100 An apple in yen , The excise tax is 10%, Calculate payment amount .
We use graphics , Describe the calculation process of the payment amount .

Put it another way :

We found that , In solving this problem , Our own ideas and graphics are exactly the same !
1. Calculate the value according to the unit price and quantity of apples .
2. According to tax rate , Calculate the amount to be paid .
How do we calculate the derivative of the payment amount with respect to the apple unit price ?

You can use the reverse method of just calculating the payment amount , Calculate the corresponding derivative ( How to calculate , Later on ). We found that , The calculation diagram is passed forward , You can calculate the payment amount step by step . And through back propagation , You can exit the derivative of the payment amount to a certain variable step by step .
Calculation f(x,y) = (x+y)^2 Yes x Partial derivative of

First , Let's change the function :

According to the derivation formula ,

We refer to step , The process of step-by-step calculation of partial derivatives is completely consistent with the back-propagation of the calculation diagram .
Back propagation of additive computation
Neural network , Addition calculation and multiplication calculation are common , Let's take a look at .

For addition calculation , We found that , Their partial derivatives are 1.

Back propagation of multiplication
For multiplication calculation ?

We find that the back propagation of multiplication is the product of other terms :

边栏推荐
- IP地址管理
- K59. Chapter 2 installing kubernetes V1.23 based on binary packages -- cluster deployment
- How to view glibc version
- LeetCode 1037. 有效的回旋镖(向量叉乘)
- kubernetes集群搭建
- Deep learning and CV tutorial (14) | image segmentation (FCN, segnet, u-net, pspnet, deeplab, refinenet)
- ARM指令集之数据处理指令寻址方式
- 异步路径处理
- Video JS library uses custom components
- Pessimistic lock and optimistic lock of MySQL
猜你喜欢

Les humains veulent de l'argent, du pouvoir, de la beauté, de l'immortalité, du bonheur... Mais les tortues ne veulent être qu'une tortue.

視頻分類的類間和類內關系——正則化

21 reasons why you need social media QR code

5g NR Protocol Learning - - ts38.211 downlink channel

UML系列文章(30)体系结构建模---制品图

Problems in cross validation code of 10% discount

UML系列文章(31)体系结构建模---部署图

TinyMCE series (I) TinyMCE environment construction

Ficusjs series (I) introduction to ficusjs

Relation entre les classes et à l'intérieur des classes de classification vidéo - - Régularisation
随机推荐
Problems in cross validation code of 10% discount
ARM指令集之乘法指令
Inter class and intra class relations in video classification -- regularization
5g NR protocol learning -- ts38.211 downlink channel
How to operate the newly revised Taobao merchants and what should be paid attention to
Lambda expression | shallow solution
UML系列文章(30)体系结构建模---制品图
Why is there no traffic after the launch of new products? How should new products be released?
【QNX Hypervisor 2.2 用户手册】4.1 构建QNX Hypervisor系统的方法
字节序 - 如何判断大端小端
Relation entre les classes et à l'intérieur des classes de classification vidéo - - Régularisation
Unit test case framework --unittest
35. 搜索插入位置
Pessimistic lock and optimistic lock of MySQL
Design of secure chat tool based on C #
Lambda and filter, List 和 numpy array的索引,以及各种距离指标distance-metrics,拼接数组以及axis=0 and axis=1的区分
ARM指令集之批量Load/Store指令
Spark common encapsulation classes
Postman incoming list
异步路径处理