当前位置:网站首页>【ML】李宏毅三:梯度下降&分类(高斯分布)
【ML】李宏毅三:梯度下降&分类(高斯分布)
2022-07-02 22:14:00 【洋气月】

等高线的法线垂直于切线,:
每次计算
一次归点,然后根据归点梯度下降;再根据其结果算新的归点,再梯度下降。。。。。

在做梯度下降的时候,小心的调learning rate


最好每一个参数都有一个learning rate,推荐使用adagrad

case:利用过去所有微分值的均方根



解释:

只考虑一个参数时:
考虑多个参数时,以上论述就不一定成立了:
只看w1(蓝色):a比b离得远,则微分值越大
只看w2(绿色):c比d离得远,则微分值越大
但结合起来看就不是了:a的微分值明显比c小,但是a距离原点更远,所以跨参数比较的话,上述就不成立了!

所以正确做法是:用一次微分值/二次微分值,来算距离最低点的距离

是个常数,
表示一次微分,
来代替二次微分(为了好算)

随机梯度下降:


用vector来描述一个输入(宝可梦)


极大似然估计:通过结果推算来源的概率
高斯分布
,假设是个function,每个点都是从高斯分布取样出来的。
每个点离黄色的中心点越近,取样出来的概率就越大


因为每个蓝色点概率独立,所以黄色点sample所有79个蓝色点的概率等于每个想乘
算极大似然值:取平均(因为高斯分布是正态分布)
算出最有可能sample所有蓝点的极大似然之后,开始分类:

水系和普通系分类效果不是很好,正确率只有47%,如果升维呢?
增加属性到7唯
7维效果仍然不理想,减少两个function的参数
共用协方差矩阵后,准确率提高
3步总结:

后验概率:
简化共识:
边栏推荐
- Yolox enhanced feature extraction network panet analysis
- FOC矢量控制及BLDC控制中的端电压、相电压、线电压等概念别还傻傻分不清楚
- Implementation of VGA protocol based on FPGA
- Temperature measurement and display of 51 single chip microcomputer [simulation]
- YOLOX加强特征提取网络Panet分析
- 设置单击右键可以选择用VS Code打开文件
- Strictly abide by the construction period and ensure the quality, this AI data annotation company has done it!
- Arduino - 字符判断函数
- 密码技术---密钥和SSL/TLS
- Tiktok actual combat ~ number of likes pop-up box
猜你喜欢

“一个优秀程序员可抵五个普通程序员!”

深度剖析数据在内存中的存储----C语言篇

Yolox enhanced feature extraction network panet analysis

Li Kou brush questions (2022-6-28)

内网渗透 | 手把手教你如何进行内网渗透
![[redis notes] compressed list (ziplist)](/img/83/ff38fabb1baebc5fa4d3d72da315dc.png)
[redis notes] compressed list (ziplist)

Win11自动关机设置在哪?Win11设置自动关机的两种方法

RecyclerView结合ViewBinding的使用

Go basic anonymous variable

理想汽车×OceanBase:当造车新势力遇上数据库新势力
随机推荐
高数有多难?AI 卷到数学圈,高数考试正确率 81%!
Tiktok actual combat ~ number of likes pop-up box
QT qpprogressbar details
简述中台的常识
用matlab调用vs2015来编译vs工程
Troubleshooting the cause of the crash when STM32 serial port dam receives 253 bytes
C# MVC创建一个视图摆脱布局的影响
【Proteus仿真】51单片机+LCD12864推箱子游戏
Makefile configuration of Hisilicon calling interface
Submit code process
公司里只有一个测试是什么体验?听听他们怎么说吧
Li Kou brush questions (2022-6-28)
LINQ usage collection in C #
Introduction to the latest plan of horizon in April 2022
Alibaba cloud award winning experience: how to use polardb-x
How does win11 turn on visual control? Win11 method of turning on visual control
STM32串口DAM接收253字节就死机原因排查
跨境电商如何通过打好数据底座,实现低成本稳步增长
[adjustment] postgraduate enrollment of Northeast Petroleum University in 2022 (including adjustment)
Pandora IOT development board learning (HAL Library) - Experiment 3 key input experiment (learning notes)