21[Λbbμb−Λba(xa−μa)]TΛbb−1[Λbbμb−Λba(xa−μa)]−21xaTΛaaxa+xaT(Λaaμa+Λabμb)+const=−21xaT(Λaa−ΛabΛbb−1Λba)xa+xaT(Λaa−ΛabΛbb−1Λba)μa+const(3.71)
第一行里 的后面三项−21xaTΛaaxa+xaT(Λaaμa+Λabμb)+const 一开始没有理解这是从何而来,仔细看原文
This integration is easily performed by noting that it is the integral over an unnor
malized Gaussian, and so the result will be the reciprocal of the normalization coef-
ficient. We know from the form of the normalized Gaussian given by (3.26) that this
coefficient is independent of the mean and depends only on the determinant of the
covariance matrix. Thus, by completing the square with respect to xb, we can inte
grate out xb so that the only term remaining from the contributions on the left-hand
side of (3.68) that depends on xa is the last term on the right-hand side of (3.68) in
which m is given by (3.69). Combining this term with the remaining terms from
(3.54) that depend on xa, we obtain
尤其是"Combining this term with the remaining terms from (3.54) that depend on xa"
−21(x−μ)TΣ−1(x−μ)=−21(xa−μa)TΛaa(xa−μa)−21(xa−μa)TΛab(xb−μb)−21(xb−μb)TΛba(xa−μa)−21(xb−μb)TΛbb(xb−μb).(3.54)
此外我们还需要看一下(3.68)
−21xbTΛbbxb+xbTm=−21(xb−Λbb−1m)TΛbb(xb−Λbb−1m)+21mTΛbb−1m(3.68)
公式3.68是3.54中关于xb的二次项以及一次项,二次项可以在积分中直接应用高斯分布得到结果,所以重点是后面一次项,以及3.54中不包含xb的项目,这些便是−21xaTΛaaxa+xaT(Λaaμa+Λabμb)+const的由来