当前位置:网站首页>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 .
边栏推荐
- Grey correlation analysis link (portal) matlab
- [loss function] entropy / relative entropy / cross entropy
- Basic realization of line chart (II)
- FIR filter of IQ signal after AD phase discrimination
- About how USRP sets the sampling frequency below the minimum sampling frequency reached by the hardware
- Micro rabbit gets a field of API interface JSON
- Vscode is added to the right-click function menu
- How to transfer Netease cloud music /qq music to Apple Music
- Ag7120 and ag7220 explain the driving scheme of HDMI signal extension amplifier | ag7120 and ag7220 design HDMI signal extension amplifier circuit reference
- 5. Contrôle discret et contrôle continu
猜你喜欢
Chapter VIII integrated learning
解决报错:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
2022 low voltage electrician examination content and low voltage electrician simulation examination question bank
Two methods for full screen adaptation of background pictures, background size: cover; Or (background size: 100% 100%;)
How to write mark down on vscode
Design method and application of ag9311maq and ag9311mcq in USB type-C docking station or converter
2022 new examination questions for crane driver (limited to bridge crane) and question bank for crane driver (limited to bridge crane) operation examination
Using GPU to train network model
The difference between distribution function and probability density function of random variables
Common fault analysis and Countermeasures of using MySQL in go language
随机推荐
Redis cluster
Gnuradio operation error: error thread [thread per block [12]: < block OFDM_ cyclic_ prefixer(8)>]: Buffer too small
4. Apprentissage stratégique
break algorithm---刷题map
Use "recombined netlist" to automatically activate eco "APR netlist"
1. Linear regression
On the concept and application of filtering in radar signal processing
Macro definition and multiple parameters
5. Contrôle discret et contrôle continu
2022 high altitude installation, maintenance and demolition examination materials and high altitude installation, maintenance and demolition operation certificate examination
Solve the error: NPM warn config global ` --global`, `--local` are deprecated Use `--location=global` instead.
Generic configuration legend
Arm bare metal
2、TD+Learning
Understanding of maximum likelihood estimation
Design method and reference circuit of type C to hdmi+ PD + BB + usb3.1 hub (rj45/cf/tf/ sd/ multi port usb3.1 type-A) multifunctional expansion dock
Guojingxin center "APEC education +" Shanghai Jiaotong University Japan Cooperation Center x Fudan philosophy class "Zhe Yi" 2022 New Year greetings
Talk about smart Park
Ag9310 for type-C docking station scheme circuit design method | ag9310 for type-C audio and video converter scheme circuit design reference
Matlab code about cosine similarity