Import definitions and concepts in “Probabilistic Machine Learning: An Introduction“

E [ V [ X ∣ Y ] ] = P ( Y = 1 ) V [ X ∣ Y = 1 ] + P ( Y = 2 ) V [ X ∣ Y = 2 ] = 0.5 × 0.5 + 0.5 × 0.5 = 0.5 (2.48) E[V[X|Y]] \\= P(Y=1)V[X|Y=1] + P(Y=2)V[X|Y=2] \\= 0.5 \times 0.5 + 0.5 \times 0.5 = 0.5 \tag{2.48} E[V[X∣Y]]=P(Y=1)V[X∣Y=1]+P(Y=2)V[X∣Y=2]=0.5×0.5+0.5×0.5=0.5(2.48)

V [ E [ X ∣ Y ] ] = E [ ( E [ X ∣ Y ] ) 2 ] − ( E [ E [ X ∣ Y ] ] ) 2 = E [ ( E [ X ∣ Y ] ) 2 ] − ( E [ X ] ) 2 = P ( Y = 1 ) ( E [ X ∣ Y = 1 ] ) 2 + P ( Y = 2 ) ( E [ X ∣ Y = 2 ] ) 2 − ( 2 + 0 2 ) 2 = 0.5 ∗ 0 + 0.5 ∗ 2 2 − 1 = 1 (2.49) V[E[X|Y]] \\= E[(E[X|Y])^2] - (E[E[X|Y]])^2 \\= E[(E[X|Y])^2] - (E[X])^2 \\= P(Y=1)(E[X|Y=1])^2 + P(Y=2)(E[X|Y=2])^2 - (\frac{2+0}{2})^2 \\= 0.5 * 0 + 0.5 * 2^2 - 1 = 1 \tag{2.49} V[E[X∣Y]]=E[(E[X∣Y])2]−(E[E[X∣Y]])2=E[(E[X∣Y])2]−(E[X])2=P(Y=1)(E[X∣Y=1])2+P(Y=2)(E[X∣Y=2])2−(22+0​)2=0.5∗0+0.5∗22−1=1(2.49)

上一篇:彻底完整性地写在删除MySQL产品以及相关数据信息-解决重新安装数据库各种出错


下一篇:JDK、JRE、JVM