当前位置:网站首页>极大似然估计
极大似然估计
2022-08-02 02:20:00 【wekings】
一.极大似然估计
通俗定义:已知样本的结果信息,求在哪种模型下,出现这些样本结果的概率最大。极大似然估计法提供了一种用观测数据来评估模型参数的方法。
举例说明:
ex.袋子中有黑白两种球,颜色比例不知,做100次有放回抽样(独立同分布),其中70次为白球,30次为黑球,极大似然估计就可通过样本的抽样结果求得袋子中球的分布模型的参数。
P(样本结果|Model)=P(x1,x2,x3,...,x100|Model)
多个相互独立事件同时发生的概率=每个事件发生概率的乘积,因此,
上式=P(x1|Model)P(x2|Model)...P(x100|Model)=
p就是要求的模型参数值,不同的p导致P(样本结果|Model)不同,有无数种选择,极大似然估计要选择使P(样本结果|Model)值最大的参数p,将其看作p的函数,则令其导数=0,即可求得使P(样本结果|Model)最大得参数值p。
,求得p=0.7。
二.李航统计学习中:当模型是条件概率分布,损失函数是对数函数时,经验风险最小化就等价于极大似然估计
假设模型条件概率分布为:
最小化经验风险 :

等价于:
极大似然估计:
将式2取对数后累乘变累加,再求最大值,即为公式1,因此两者等价。
边栏推荐
- Reflex WMS Intermediate Series 7: What should I do if I want to cancel the picking of an HD that has finished picking but has not yet been loaded?
- LeetCode刷题日记:53、最大子数组和
- Safety (1)
- Install mysql using docker
- 密码学的基础:X.690和对应的BER CER DER编码
- Golang分布式应用之定时任务
- 【LeetCode每日一题】——103.二叉树的锯齿形层序遍历
- 2022-08-01 mysql/stoonedb慢SQL-Q18分析
- How engineers treat open source
- 使用docker安装mysql
猜你喜欢

使用DBeaver进行mysql数据备份与恢复

BI-SQL丨WHILE

Power button 1374. Generate each character string is an odd number

Handwritten Blog Platform ~ Day Two

NAS和私有云盘的区别?1篇文章说清楚

使用docker安装mysql

菜刀webshell特征分析

Service discovery of kubernetes
![[Unity entry plan] 2D Game Kit: A preliminary understanding of the composition of 2D games](/img/8a/07ca69c6dcc22757156cb615e241f8.png)
[Unity entry plan] 2D Game Kit: A preliminary understanding of the composition of 2D games

【web】理解 Cookie 和 Session 机制
随机推荐
Chopper webshell feature analysis
TKU remembers a single-point QPS optimization (I wish ITEYE is finally back)
"NetEase Internship" Weekly Diary (2)
哈希冲突和一致性哈希
Scheduled tasks for distributed applications in Golang
libcurl访问url保存为文件的简单示例
Ask God to answer, how should this kind of sql be written?
MySQL optimization strategy
永磁同步电机36问(三)——SVPWM代码实现
LeetCode brush diary: LCP 03. Machine's adventure
Pinduoduo leverages the consumer expo to promote the upgrading of domestic agricultural products brands and keep pace with international high-quality agricultural products
局部敏感哈希:如何在常数时间内搜索Embedding最近邻
软件测试 接口自动化测试 pytest框架封装 requests库 封装统一请求和多个基础路径处理 接口关联封装 测试用例写在yaml文件中 数据热加载(动态参数) 断言
项目后台技术Express
swift项目,sqlcipher3 -> 4,无法打开旧版数据库有办法解决吗
A good book for newcomers to the workplace
Use baidu EasyDL implement factory workers smoking behavior recognition
The principle and code implementation of intelligent follower robot in the actual combat of innovative projects
[LeetCode Daily Question]——654. The largest binary tree
使用DBeaver进行mysql数据备份与恢复