当前位置:网站首页>[ml] Li Hongyi III: gradient descent & Classification (Gaussian distribution)
[ml] Li Hongyi III: gradient descent & Classification (Gaussian distribution)
2022-07-02 23:26:00 【Exotic moon】

The normal of the contour line is perpendicular to the tangent ,:
Every time calculation
One time return , Then according to the gradient of return point ; Then calculate a new return point according to the result , Then gradient down .....

When doing gradient descent , Careful adjustment learning rate


It is better to have one for every parameter learning rate, Recommended adagrad

case: Use the root mean square of all differential values in the past



explain :

When only one parameter is considered :
When considering multiple parameters , The above discussion is not necessarily true :
Just look at w1( Blue ):a Than b Far away , Then the greater the differential value
Just look at w2( green ):c Than d Far away , Then the greater the differential value
But not when combined :a The differential value of is significantly higher than c Small , however a Farther from the origin , So cross parameter comparison , The above is not true !

So the right thing to do is : Use first-order differential value / Quadratic differential value , To calculate the distance from the lowest point

It's a constant ,
Express a differential ,
To replace quadratic differentiation ( In order to calculate )

Stochastic gradient descent :


use vector To describe an input ( Baokemeng )


Maximum likelihood estimation : Calculate the probability of the source from the results
Gaussian distribution
, Suppose it's a function, Each point is sampled from the Gaussian distribution .
The closer each point is to the center of the yellow , The greater the probability of sampling


Because the probability of each blue dot is independent , So yellow dot sample all 79 The probability of a blue dot is equal to each person who wants to multiply
Calculate the maximum likelihood value : Take the average ( Because Gaussian distribution is normal distribution )
Calculate the most likely sample After the maximum likelihood of all blue dots , Start sorting :

The classification effect of water system and common system is not very good , The correct rate is only 47%, What about Shengwei ?
Add attribute to 7 only
7 Dimensional effect is still not ideal , Reduce two function Parameters of 
After sharing the covariance matrix , Improved accuracy
3 Step summary :

Posterior probability :
Simplify consensus :
边栏推荐
- Compose 中的 'ViewPager' 详解 | 开发者说·DTalk
- Win11系统explorer频繁卡死无响应的三种解决方法
- 解决:exceptiole ‘xxxxx.QRTZ_LOCKS‘ doesn‘t exist以及mysql的my.cnf文件追加lower_case_table_names后启动报错
- PHP get real IP
- 理想汽车×OceanBase:当造车新势力遇上数据库新势力
- CDN acceleration requires the domain name to be filed first
- @How to use bindsinstance in dagger2
- Golang common settings - modify background
- Is 408 not fragrant? The number of universities taking the 408 examination this year has basically not increased!
- Start from the bottom structure to learn the customization and testing of FPGA --- Xilinx ROM IP
猜你喜欢

Catalogue of digital image processing experiments

采用VNC Viewer方式遠程連接樹莓派

Markdown basic grammar

What if win11 can't turn off the sticky key? The sticky key is cancelled but it doesn't work. How to solve it

What experience is there only one test in the company? Listen to what they say

实现BottomNavigationView和Navigation联动

Is 408 not fragrant? The number of universities taking the 408 examination this year has basically not increased!

海思 VI接入视频流程

为什么RTOS系统要使用MPU?

Deep analysis of data storage in memory - C language
随机推荐
Submit code process
The use of 8255 interface chip and ADC0809
SharedPreferences save list < bean > to local and solve com google. gson. internal. Linkedtreemap cannot be cast to exception
How can cross-border e-commerce achieve low-cost and steady growth by laying a good data base
BBR encounters cubic
Configuration clic droit pour choisir d'ouvrir le fichier avec vs Code
Yolox enhanced feature extraction network panet analysis
Loss function~
Doorplate making C language
为什么RTOS系统要使用MPU?
Interface switching based on pyqt5 toolbar button -1
Solution to boost library link error
RuntimeError: no valid convolution algorithms available in CuDNN
How does win11 turn on visual control? Win11 method of turning on visual control
Ideal car × Oceanbase: when the new forces of car building meet the new forces of database
CDN acceleration requires the domain name to be filed first
設置單擊右鍵可以選擇用VS Code打開文件
Introduction to the latest plan of horizon in April 2022
面试过了,起薪16k
Makefile configuration of Hisilicon calling interface