当前位置:网站首页>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 .
边栏推荐
- 正则表达式
- Redis集群
- LaTeX 中 xcolor 颜色的用法
- Chapter 7 Bayesian classifier
- Gnuradio transmits video and displays it in real time using VLC
- 3、多智能体强化学习
- 2. Nonlinear regression
- Gnuradio3.9.4 create OOT module instances
- Micro rabbit gets a field of API interface JSON
- On the concept and application of filtering in radar signal processing
猜你喜欢
5. Over fitting, dropout, regularization
Recommend a document management tool mendely Reference Manager
Vs code configuration latex environment nanny level configuration tutorial (dual system)
Content of one frame
break net
5. Contrôle discret et contrôle continu
The combination of relay and led small night light realizes the control of small night light cycle on and off
About how USRP sets the sampling frequency below the minimum sampling frequency reached by the hardware
redis的持久化方式-RDB和AOF 两种持久化机制
Led serial communication
随机推荐
Deep learning website
Using GPU to train network model
Know how to get the traffic password
Basic realization of line chart (II)
NPM internal split module
Grey correlation analysis link (portal) matlab
A little experience from reading "civilization, modernization, value investment and China"
HDMI to VGA acquisition HD adapter scheme | HDMI to VGA 1080p audio and video converter scheme | cs5210 scheme design explanation
For the first time in China, three Tsinghua Yaoban undergraduates won the stoc best student thesis award
How to use education discounts to open Apple Music members for 5 yuan / month and realize member sharing
Transportation, new infrastructure and smart highway
Capstone/cs5210 chip | cs5210 design scheme | cs5210 design data
4、策略學習
Study notes of single chip microcomputer and embedded system
Led serial communication
Understanding of maximum likelihood estimation
4. Apprentissage stratégique
8. Optimizer
Chapter improvement of clock -- multi-purpose signal modulation generation system based on ambient optical signal detection and custom signal rules
AttributeError: ‘str‘ object has no attribute ‘strftime‘