当前位置:网站首页>[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 :
边栏推荐
- 【Proteus仿真】51单片机+LCD12864推箱子游戏
- Eight honors and eight disgraces of the programmer version~
- SharedPreferences 保存List<Bean> 到本地并解决com.google.gson.internal.LinkedTreeMap cannot be cast to异常
- SQL advanced syntax
- Arduino - 字符判断函数
- Use the scroll bar of souI when using the real window in souI
- 公司里只有一个测试是什么体验?听听他们怎么说吧
- Detailed explanation and application of merging and sorting
- RuntimeError: no valid convolution algorithms available in CuDNN
- 2016. maximum difference between incremental elements
猜你喜欢
Typical case of data annotation: how does jinglianwen technology help enterprises build data solutions
Temperature measurement and display of 51 single chip microcomputer [simulation]
采用VNC Viewer方式远程连接树莓派
[live broadcast appointment] database obcp certification comprehensive upgrade open class
Win11麦克风测试在哪里?Win11测试麦克风的方法
Redis expiration policy +conf record
2022年最新最全软件测试面试题大全
Alibaba cloud award winning experience: how to use polardb-x
CDN 加速,需要域名先备案
Hisilicon VI access video process
随机推荐
20220524_数据库过程_语句留档
Troubleshooting the cause of the crash when STM32 serial port dam receives 253 bytes
程序员版本的八荣八耻~
Brief introduction of emotional dialogue recognition and generation
Potplayer set minimized shortcut keys
密码技术---分组密码的模式
Go basic constant definition and use
Redis expiration policy +conf record
Doorplate making C language
Is 408 not fragrant? The number of universities taking the 408 examination this year has basically not increased!
Solution: exceptiole 'xxxxx QRTZ_ Locks' doesn't exist and MySQL's my CNF file append lower_ case_ table_ Error message after names startup
ServletContext learning diary 1
Where is the win11 microphone test? Win11 method of testing microphone
基于Pyqt5工具栏按钮可实现界面切换-2
海思调用接口之Makefile配置
Strictly abide by the construction period and ensure the quality, this AI data annotation company has done it!
深度剖析数据在内存中的存储----C语言篇
PHP get real IP
Eight bit responder [51 single chip microcomputer]
门牌制作 C语言