当前位置:网站首页>[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 :

边栏推荐
- The first thing with a server
- ARM指令集之跳转指令
- 5G NR协议学习--TS38.211下行通道
- Google Earth Engine(GEE)——Kmeans聚类快速进行土地分类(双for循环快速调参)
- Index in MySQL show index from XXX the meaning of each parameter
- Byte order - how to judge the big end and the small end
- 【QNX Hypervisor 2.2 用户手册】4 构建QNX Hypervisor系统
- Lambda and filter, index of list and numpy array, as well as various distance metrics, concatenated array and distinction between axis=0 and axis=1
- Logrotate log rotation method create and copyruncate principles
- Lambda expression | shallow solution
猜你喜欢

Doris records service interface calls

Unlimited growth, we will all go to the future | the 15th anniversary of the founding of InfoQ China

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

字节序 - 如何判断大端小端

Relation entre les classes et à l'intérieur des classes de classification vidéo - - Régularisation

【深度学习基础】神经网络的学习(4)

MySQL45讲 01 | 基础架构:一条SQL查询语句是如何执行的?

Doris记录服务接口调用情况

异步路径处理

Lambda and filter, index of list and numpy array, as well as various distance metrics, concatenated array and distinction between axis=0 and axis=1
随机推荐
MySQL - built in function
ARM指令集之Load/Store指令寻址方式(一)
SSL引入原因及加密步骤
【蓝桥杯单片机 国赛 第十一届】
机器学习之决策树
Relatively rare exception records in UI automation test
5G NR協議學習--TS38.211下行通道
Tpage design
判断网络文件是否存在,获取网络文件大小,创建时间、修改时间
Arm cross compilation chain download address
C# 35. Select default network card
A.前缀极差
字节序 - 如何判断大端小端
第六章 数据类型(五)
Manuscript manuscript format preparation
当自己有台服务器之后
Socket programming UDP
Basic principle of Doppler effect
Rich text editor copying pictures in word documents
Blue Bridge Cup 2015 CA provincial competition (filling the pit)