当前位置:网站首页>About snake equation (2)
About snake equation (2)
2022-07-08 01:27:00 【yangxue_ mifen】
Reference source :(6 A private letter / 20 Bar message ) What is gradient descent method ? - You know (zhihu.com) ------------ Ma classmate
Every gradient vector
The module length is listed , It can be seen that it is decreasing , Therefore, this method is called gradient descent method :

It's easy to understand , When finally tends to 0 From time to tome :

So the minimum value obtained by gradient descent method ( Or nearby ).
Step setting :
As mentioned above, you can pass the step
To control the distance of each movement , Let's take a look at the impact of asynchronous length on the final result .
The step size is too small
If set
It's too small , iteration 20 After that, it is still far from the bottom of the valley , actually 100 You can't reach the bottom after times .

Appropriate step size
If set
,, Is a more appropriate step ,10 The minimum value is almost found once :

The step size is too big
If set
, At this time, it will vibrate back and forth ( The figure below looks like there are only two points , In fact, back and forth between these two points ):

Sum up , Different steps
As the number of iterations increases , Will result in optimized functions Of
Values vary :

Find the right step
, It's a craft job , The above picture can be drawn in the project , Manually adjust according to the image :
It's almost linear ( The blue line ) May be
smaller , It needs to be raised
Go up ( Red thread ), Naturally
Too big , Need to be lowered .
At first, the decline was particularly rapid , Then there is little change ( Brown line ), May be
more , Need to be lowered .

边栏推荐
- 2022 refrigeration and air conditioning equipment operation examination questions and refrigeration and air conditioning equipment operation examination skills
- The difference between distribution function and probability density function of random variables
- USB type-C mobile phone projection scheme | USB type-C docking station scheme | TV / projector type-C converter scheme | ag9300ag9310ag9320
- Ag9310 same function alternative | cs5261 replaces ag9310type-c to HDMI single switch screen alternative | low BOM replaces ag9310 design
- Deep learning website
- NPM internal split module
- redis的持久化方式-RDB和AOF 两种持久化机制
- The persistence mode of redis - RDB and AOF persistence mechanisms
- 2022 safety officer-a certificate free examination questions and safety officer-a certificate mock examination
- Ag7120 and ag7220 explain the driving scheme of HDMI signal extension amplifier | ag7120 and ag7220 design HDMI signal extension amplifier circuit reference
猜你喜欢

Kuntai ch7511b scheme design | ch7511b design EDP to LVDS data | pin to pin replaces ch7511b circuit design

The beauty of Mathematics -- the principle of fine Fourier transform

Generic configuration legend

4. Apprentissage stratégique

Basic implementation of pie chart

The Ministry of housing and urban rural development officially issued the technical standard for urban information model (CIM) basic platform, which will be implemented from June 1

Understanding of expectation, variance, covariance and correlation coefficient

Gnuradio3.9.4 create OOT module instances

2022 refrigeration and air conditioning equipment operation examination questions and refrigeration and air conditioning equipment operation examination skills

2. Nonlinear regression
随机推荐
Vscode reading Notepad Chinese display garbled code
NPM internal split module
正则表达式
Ag9310meq ag9310mfq angle two USB type C to HDMI audio and video data conversion function chips parameter difference and design circuit reference
Kaptcha generates verification code on Web page
Guojingxin center "APEC education +" Shanghai Jiaotong University Japan Cooperation Center x Fudan philosophy class "Zhe Yi" 2022 New Year greetings
Codeforces Round #804 (Div. 2)
Saving and reading of network model
EDP to LVDS conversion design circuit | EDP to LVDS adapter board circuit | capstone/cs5211 chip circuit schematic reference
High quality USB sound card / audio chip sss1700 | sss1700 design 96 kHz 24 bit sampling rate USB headset microphone scheme | sss1700 Chinese design scheme explanation
The communication clock (electronic time-frequency or electronic time-frequency auxiliary device) writes something casually
4. Apprentissage stratégique
[loss function] entropy / relative entropy / cross entropy
2022 examination for safety production management personnel of hazardous chemical production units and new version of examination questions for safety production management personnel of hazardous chem
2021-04-12 - new features lambda expression and function functional interface programming
FIR filter of IQ signal after AD phase discrimination
Introduction to the types and repair methods of chip Eco
Guojingxin center "APEC investment +": some things about the Internet sector today | observation on stabilizing strategic industrial funds
Smart agricultural technology framework
Kafka-connect将Kafka数据同步到Mysql