李航-统计学习方法-习题-第九章

9.2 证明引理 9.2.
引理 9.2 P ~ θ ( Z ) = P ( Z ∣ Y , θ ) \widetilde P_\theta(Z)=P(Z|Y,\theta) P θ(Z)=P(ZY,θ),则
F ( P ~ , θ ) = l o g P ( Y ∣ θ ) F(\widetilde P, \theta)=logP(Y|\theta) F(P ,θ)=logP(Yθ).
证明:
F ( P ~ , θ ) = E P ~ [ l o g P ( Y , Z ∣ θ ) ] + H ( P ~ ) = E P ~ [ l o g P ( Y , Z ∣ θ ) ] − E P ~ l o g P ~ ( Z ) = ∑ Z l o g P ( Y , Z ∣ θ ) P ~ θ ( Z ) − ∑ Z l o g P ~ ( Z ) P ~ ( Z ) = ∑ Z l o g P ( Y , Z ∣ θ ) P ( Z ∣ Y , θ ) − ∑ Z l o g P ( Z ∣ Y , θ ) P ( Z ∣ Y , θ ) = ∑ Z P ( Z ∣ Y , θ ) ( l o g P ( Y , Z ∣ θ ) − l o g P ( Z ∣ Y , θ ) ) = ∑ Z P ( Z ∣ Y , θ ) l o g P ( Y , Z ∣ θ ) P ( Z ∣ Y , θ ) = ∑ Z P ( Z ∣ Y , θ ) l o g P ( Y ∣ θ ) = l o g P ( Y ∣ θ ) ∑ Z P ( Z ∣ Y , θ ) = l o g P ( Y ∣ θ ) ⋅ 1 = l o g P ( Y ∣ θ ) \begin{aligned} F(\widetilde P, \theta) &= E_{\widetilde P}[logP(Y,Z|\theta)]+H(\widetilde P) \\ &= E_{\widetilde P}[logP(Y,Z|\theta)]-E_{\widetilde P}log\widetilde P(Z) \\ &= \sum_ZlogP(Y,Z|\theta)\widetilde P_\theta(Z) - \sum_Zlog\widetilde P(Z)\widetilde P(Z) \\ &= \sum_ZlogP(Y,Z|\theta)P(Z|Y,\theta)- \sum_ZlogP(Z|Y,\theta)P(Z|Y,\theta) \\ &= \sum_ZP(Z|Y,\theta)(logP(Y,Z|\theta)-logP(Z|Y,\theta)) \\ &= \sum_ZP(Z|Y,\theta)log\dfrac{P(Y,Z|\theta)}{P(Z|Y,\theta)} \\ &= \sum_ZP(Z|Y,\theta)logP(Y|\theta) \\ &= logP(Y|\theta)\sum_ZP(Z|Y,\theta) \\ &= logP(Y|\theta)\cdot1 \\ &= logP(Y|\theta) \end{aligned} F(P ,θ)=EP [logP(Y,Zθ)]+H(P )=EP [logP(Y,Zθ)]EP logP (Z)=ZlogP(Y,Zθ)P θ(Z)ZlogP (Z)P (Z)=ZlogP(Y,Zθ)P(ZY,θ)ZlogP(ZY,θ)P(ZY,θ)=ZP(ZY,θ)(logP(Y,Zθ)logP(ZY,θ))=ZP(ZY,θ)logP(ZY,θ)P(Y,Zθ)=ZP(ZY,θ)logP(Yθ)=logP(Yθ)ZP(ZY,θ)=logP(Yθ)1=logP(Yθ)
证毕.

你可能感兴趣的:(AI,统计学习方法)