EM算法和FA

EM

极大似然估计:要求样本来自同一个分布,然后估计参数。
EM:为个体指定一个参数–>估计参数–>调节分布–>估计参数。
E-step : repeatedly construct a low-bound on l .
M-step : optimize that low-bound.
details are as follows:
EM : repeat until convergence{
(E-step) for each i ,set

Qi(z(i)):=p(z(i)|x(i);θ)

(M-step) set

θ:=argmaxθiz(i)Qi(z(i))logp(x(i),z(i);θ)Qi(z(i))

compensatory acknowlege:
1) Jensen’s inequality
f is a convex function , x is a random variable , then
E[f(x)]f[E(x)]

2) 多元正态分布:若
xNp(μ,Σ)
x 服从p维正态分布,且 Ex=μ , D(x)=Σ=E[(xEx)(xEx)T] ,
f(x1,x2xp)=12πp2|Σ|12exp12(xμ)TΣ1(xμ)
如果, y=cx+b ,cRM×1 ,
YNm(cμ+b,cΣcT)

FA

A joint distribution on (x,z) as follows :

zN(0,I),x|zN(μ+Λz,ψ)
zRk,μRn,ΛRn×k,ψRn×n , ψ is a diagonal matrix and k is usually chosen to be smaller than n .
Imagining that x(i) is generated by sampling a k dimension multivariate gaussian z(i)
x=μ+Λz+ϵ,[z x]TN(μzx,Σ)
zN(0,I),ϵN(0,ψ),μzx=[0μ],Σ=[IΛΛTΛΛT+ψ]
so log likelihood of the parameters is as follows :
l(μ,Λ,Ψ)=logΠmi=11(2π)(n2)|ΛΛT+ψ|12exp[12(x(i)μ)T(ΛΛT+ψ)1(x(i)μ)]
then use EM algorithm .
编辑公式会有眼花缭乱的感觉~

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Z_shsf

来包瓜子嘛,谢谢客官~

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值