{"id":7125,"date":"2026-09-20T14:53:15","date_gmt":"2026-09-20T19:53:15","guid":{"rendered":"https:\/\/ykim.synology.me\/wordpress\/marginal-likelihood-and-its-laplace-approximation-7125\/"},"modified":"2026-11-25T16:55:29","modified_gmt":"2026-11-25T22:55:29","slug":"marginal-likelihood-and-its-laplace-approximation","status":"publish","type":"post","link":"https:\/\/ykim.synology.me\/wordpress\/marginal-likelihood-and-its-laplace-approximation-7125\/","title":{"rendered":"Marginal Likelihood and its Laplace Approximation"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/github.com\/yBarn1\/Images\/blob\/main\/produce\/watermelon-pile-produce-bin.jpg?raw=true\" alt=\"\" style=\"width:auto;height:500px\"\/><\/figure>\n\n\n<p><div class=\"github-readme-container markdown-body\"><div id=\"file\" class=\"md\" data-path=\"Bayesian\/Marginal-Likelihood\/marginal-likelihood-ko.md\"><article class=\"markdown-body entry-content container-lg\" itemprop=\"text\"><div class=\"markdown-heading\" dir=\"auto\"><h1 class=\"heading-element\" dir=\"auto\">Marginal Likelihood and its Laplace Approximation<\/h1><a id=\"user-content-marginal-likelihood-and-its-laplace-approximation\" class=\"anchor\" aria-label=\"Permalink: Marginal Likelihood and its Laplace Approximation\" href=\"#marginal-likelihood-and-its-laplace-approximation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Version 9 | Created: 2026-09-20 | Updated: 2026-11-07 13:46 UTC<\/p>\n<ul dir=\"auto\">\n<li><a href=\"#1-purpose\">1. Purpose<\/a><\/li>\n<li><a href=\"#2-summary\">2. Summary<\/a><\/li>\n<li><a href=\"#3-taxonomy-and-its-hierarchy\">3. Taxonomy and its Hierarchy<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#31-comparison\">3.1 Comparison<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#4-marginal-likelihood\">4. Marginal Likelihood<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#41-derivation\">4.1 Derivation<\/a><\/li>\n<li><a href=\"#42-why-the-integral-resists\">4.2 Why the Integral Resists<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#5-laplace-approximation\">5. Laplace Approximation<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#51-conditions\">5.1 Conditions<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#references\">References<\/a><\/li>\n<li><a href=\"#appendix-a-terminology\">Appendix A. Terminology<\/a><\/li>\n<li><a href=\"#appendix-b-derivation-of-equations-3-and-4\">Appendix B. Derivation of Equations (3) and (4)<\/a><\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">1. Purpose<\/h2><a id=\"user-content-1-purpose\" class=\"anchor\" aria-label=\"Permalink: 1. Purpose\" href=\"#1-purpose\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li>\n<strong>Problem Statement<\/strong>: Model \uc744 \uace0\ub974\ub824\uba74 \uadf8 model \uc774 \uc790\ub8cc\ub97c \ub0bc \ud655\ub960 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(D)$<\/math-renderer> \uac00 \ud544\uc694\ud55c\ub370, \uc815\uc758\uac00 \uc801\ubd84\uc774\uace0 \ub300\ubd80\ubd84\uc758 model \uc5d0\uc11c \uadf8 \uc801\ubd84\uc758 \ub2eb\ud78c \ud574\uac00 \uc5c6\ub2e4.<\/li>\n<li>\n<strong>Goal<\/strong>: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(D)$<\/math-renderer> \uac00 \ubb34\uc5c7\uc744 \uc7ac\ub294 \uc591\uc778\uc9c0\uc640 \uc801\ubd84\uc774 \ud480\ub9ac\uc9c0 \uc54a\ub294 \uc774\uc720\ub97c \uac00\ub9ac\uace0, Laplace approximation \uc774 \uadf8 \uc801\ubd84\uc744 \ubb34\uc5c7\uc73c\ub85c \ubc14\uafb8\uba70 \uc5b4\ub5a4 \uc870\uac74\uc5d0\uc11c \uadf8 \uac12\uc744 \ubbff\uc744 \uc218 \uc788\ub294\uc9c0\ub97c \uc801\uc5b4, \uc190\uc5d0 \uc788\ub294 model \uc5d0 \ub300\ud574 evidence \ub97c \uc5b4\ub290 \ubc29\ubc95\uc73c\ub85c \uad6c\ud560\uc9c0 \uace0\ub974\uac8c \ud55c\ub2e4.<\/li>\n<li>\n<strong>Non-Goal<\/strong>: Bridge sampling \uacfc nested sampling \uc758 \uc2e4\ud589 \uc808\ucc28\ub294 \ub2e4\ub8e8\uc9c0 \uc54a\ub294\ub2e4. \uc774\ub984\uacfc \uacc4\uce35\uc5d0\uc11c\uc758 \uc790\ub9ac\ub9cc \uc801\ub294\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">2. Summary<\/h2><a id=\"user-content-2-summary\" class=\"anchor\" aria-label=\"Permalink: 2. Summary\" href=\"#2-summary\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Posterior \uac00 \ub2e8\ubd09\uc774\uace0 \ud45c\ubcf8\uc774 \ucda9\ubd84\ud558\uba74 Laplace approximation \uc774 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(D)$<\/math-renderer> \ub97c \uc5bb\ub294 \uac00\uc7a5 \uc2fc \ubc29\ubc95\uc774\uba70, \uac12\uc740 \ucd5c\uc801\ud654 \ud55c \ubc88\uacfc Hessian \ud55c \ubc88\uc73c\ub85c \ub098\uc628\ub2e4. \uc815\ud655\ud55c \uac12\uc740 prior \uc640 likelihood \uac00 conjugate \uc778 \uacbd\uc6b0\uc5d0\ub9cc \uc190\uc73c\ub85c \uc801\uc744 \uc218 \uc788\uace0, \uadf8 \ubc16\uc5d0\uc11c\ub294 \uadfc\uc0ac\ub098 \ud45c\ubcf8\uc774 \uc720\uc77c\ud55c \uae38\uc774\ub2e4. Numerical \uc801\ubd84\uc740 \ucc28\uc6d0\uc774 \ucee4\uc9c0\uba74 \uaca9\uc790 \uc810\uc758 \uc218\uac00 \uac10\ub2f9\ub418\uc9c0 \uc54a\uc544 \ub300\uc548\uc774 \ub418\uc9c0 \ubabb\ud55c\ub2e4.<\/p>\n<p dir=\"auto\">Laplace approximation \uc740 posterior \uc758 \ubd09\uc6b0\ub9ac\uc5d0\uc11c 2\ucc28\uae4c\uc9c0 \uc804\uac1c\ud574 \uc801\ubd84 \ub300\uc0c1\uc744 Gaussian \uc73c\ub85c \ubc14\uafbc\ub2e4. \uadf8 \uacb0\uacfc\uac00 \uc2dd (3) \uc774\uace0, \uc5ec\uae30\uc11c \ud45c\ubcf8 \uc218\uc5d0 \ub530\ub77c \ucee4\uc9c0\uc9c0 \uc54a\ub294 \ud56d\uc744 \ubc84\ub9ac\uba74 BIC \uac00 \ub41c\ub2e4. \ub530\ub77c\uc11c BIC \ub97c \uc4f0\ub294 \uac83\uc740 \uc774\ubbf8 Laplace approximation \uc744 \uc4f0\ub418 \uadf8 \ud56d\ub4e4\uc744 \ubc84\ub9b0 \uac83\uacfc \uac19\ub2e4.<\/p>\n<p dir=\"auto\">\ubbff\uc744 \uc218 \uc5c6\uac8c \ub418\ub294 \uc870\uac74\uc740 \uc14b\uc774\ub2e4. Posterior \uc5d0 \ubd09\uc6b0\ub9ac\uac00 \uc5ec\ub7ff\uc774\uba74 \ud558\ub098\ub9cc \uc138\uace0, \ud45c\ubcf8\uc774 \uc801\uc73c\uba74 2\ucc28 \uc804\uac1c\uc758 \uc794\ucc28\uac00 \ub0a8\uc73c\uba70, \ubd09\uc6b0\ub9ac\uac00 \uc815\uc758\uc5ed\uc758 \uacbd\uacc4\uc5d0 \uc788\uc73c\uba74 Gaussian \uc801\ubd84\uc758 \uad6c\uac04\uc774 \ub9de\uc9c0 \uc54a\ub294\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">3. Taxonomy and its Hierarchy<\/h2><a id=\"user-content-3-taxonomy-and-its-hierarchy\" class=\"anchor\" aria-label=\"Permalink: 3. Taxonomy and its Hierarchy\" href=\"#3-taxonomy-and-its-hierarchy\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(D)$<\/math-renderer> \ub97c \uad6c\ud558\ub294 \ubc29\ubc95\uc740 \uc801\ubd84\uc744 \ub2e4\ub8e8\ub294 \ubc29\uc2dd\uc73c\ub85c \uac08\ub9ac\uace0, \uadf8 \ubc29\uc2dd\uc740 posterior \uc758 \ubaa8\uc591\uc5d0 \ubb34\uc5c7\uc744 \uac00\uc815\ud558\ub294\uac00\ub85c \ub2e4\uc2dc \uac08\ub9b0\ub2e4. \uc544\ub798 <a href=\"#fig-1\">Fig 1<\/a> \uc774 \ub450 \ucd95\uacfc \uacc4\uce35\uc744 \ud55c \uc7a5\uc5d0 \ub2f4\ub294\ub2e4.<\/p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"p(D) = INTEGRAL of p(D|theta) p(theta) d(theta)\n|\n+-- analytic ------ conjugate pair      exact value, closed form exists\n|\n+-- approximate --- Laplace             unimodal posterior, Gaussian at the mode\n|                   +-- BIC             Laplace with the terms that do not grow with n dropped\n|                   variational         posterior replaced by a chosen family, lower bound\n|\n+-- sampling ------ bridge sampling     no assumption on the shape, many draws\n                    nested sampling     no assumption on the shape, many draws\"><pre lang=\"text\" class=\"notranslate\"><code>p(D) = INTEGRAL of p(D|theta) p(theta) d(theta)\n|\n+-- analytic ------ conjugate pair      exact value, closed form exists\n|\n+-- approximate --- Laplace             unimodal posterior, Gaussian at the mode\n|                   +-- BIC             Laplace with the terms that do not grow with n dropped\n|                   variational         posterior replaced by a chosen family, lower bound\n|\n+-- sampling ------ bridge sampling     no assumption on the shape, many draws\n                    nested sampling     no assumption on the shape, many draws\n<\/code><\/pre><\/div>\n<p dir=\"auto\"><a id=\"user-content-fig-1\"><\/a>\nFig 1. Method families for the marginal likelihood and the assumption each makes<\/p>\n<p dir=\"auto\">\uc138\ub85c\ucd95\uc740 \uc801\ubd84\uc744 \ub2e4\ub8e8\ub294 \ubc29\uc2dd\uc774\uace0, \uac00\ub85c\ub85c \ubd99\uc740 \uae00\uc740 \uadf8 \ubc29\ubc95\uc774 posterior \uc758 \ubaa8\uc591\uc5d0 \ub450\ub294 \uac00\uc815\uc774\ub2e4. \uc704\uc5d0\uc11c \uc544\ub798\ub85c \ub0b4\ub824\uac08\uc218\ub85d \uac00\uc815\uc774 \uc57d\ud574\uc838 \uc4f8 \uc218 \uc788\ub294 model \uc774 \ub113\uc5b4\uc9c0\uace0, \ub300\uc2e0 \uac12 \ud558\ub098\ub97c \uc5bb\ub294 \ube44\uc6a9\uc774 \ucee4\uc9c4\ub2e4. BIC \uac00 Laplace \uc544\ub798\uc5d0 \ubd99\uc740 \uac83\uc740 \uacc4\uc5f4\uc774 \ub2ec\ub77c\uc11c\uac00 \uc544\ub2c8\ub77c \uac19\uc740 \uc804\uac1c\uc5d0\uc11c \ud56d\uc744 \ub354 \ubc84\ub9b0 \uac83\uc774\uae30 \ub54c\ubb38\uc774\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.1 Comparison<\/h3><a id=\"user-content-31-comparison\" class=\"anchor\" aria-label=\"Permalink: 3.1 Comparison\" href=\"#31-comparison\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Comparison \uc740 <a href=\"#fig-1\">Fig 1<\/a> \uc774 \uc138\uc6b4 \ucd95\uacfc \uacc4\uce35 \uc704\uc5d0\uc11c \uac01 \ubc29\ubc95\uc744 \uacac\uc900\ub2e4. Table 1 \uc740 \uac01 \ubc29\ubc95\uc744 posterior \uc5d0 \ub450\ub294 \uac00\uc815, \uac12 \ud558\ub098\ub97c \uc5bb\ub294 \ube44\uc6a9, \ub0b4\ub193\ub294 \uc0b0\ucd9c\uc758 \uc138 \uac00\uc9c0\ub85c \uacac\uc8fc\uba70, \uc190\uc5d0 \uc788\ub294 model \uc5d0 \uc5b4\ub290 \ubc29\ubc95\uc744 \uc4f8\uc9c0\ub294 \uc774 \ud45c\uc5d0\uc11c \uace0\ub978\ub2e4.<\/p>\n<p dir=\"auto\">Table 1. Methods for the marginal likelihood<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">#<\/th>\n<th align=\"center\">Method<\/th>\n<th align=\"center\">Assumption on the posterior<\/th>\n<th align=\"center\">Cost<\/th>\n<th align=\"center\">Output<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">1<\/td>\n<td align=\"center\">Conjugate closed form<\/td>\n<td align=\"center\">Prior \uc640 likelihood \uac00 conjugate<\/td>\n<td align=\"center\">\uc5c6\uc74c<\/td>\n<td align=\"center\">\uc815\ud655\ud55c \uac12<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">2<\/td>\n<td align=\"center\">Laplace approximation<\/td>\n<td align=\"center\">\ub2e8\ubd09. \ud45c\ubcf8\uc774 \ucda9\ubd84<\/td>\n<td align=\"center\">\ucd5c\uc801\ud654 1 \ud68c, Hessian 1 \ud68c<\/td>\n<td align=\"center\">\uadfc\uc0ac\uac12<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">3<\/td>\n<td align=\"center\">BIC<\/td>\n<td align=\"center\">\ub2e8\ubd09. \ud45c\ubcf8\uc774 \ucda9\ubd84<\/td>\n<td align=\"center\">\ucd5c\uc801\ud654 1 \ud68c<\/td>\n<td align=\"center\">\ub300\ub7b5\uac12<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">4<\/td>\n<td align=\"center\">Variational inference<\/td>\n<td align=\"center\">\uace0\ub978 \ubd84\ud3ec\uc871 (family of distributions) \uc73c\ub85c \uadfc\uc0ac \uac00\ub2a5<\/td>\n<td align=\"center\">\ubc18\ubcf5 \ucd5c\uc801\ud654<\/td>\n<td align=\"center\">\ud558\ud55c\uac12<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">5<\/td>\n<td align=\"center\">Bridge sampling<\/td>\n<td align=\"center\">\ubaa8\uc591\uc5d0 \uac00\uc815 \uc5c6\uc74c<\/td>\n<td align=\"center\">\ud45c\ubcf8 \ub2e4\uc218<\/td>\n<td align=\"center\">\uadfc\uc0ac\uac12<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">6<\/td>\n<td align=\"center\">Nested sampling<\/td>\n<td align=\"center\">\ubaa8\uc591\uc5d0 \uac00\uc815 \uc5c6\uc74c<\/td>\n<td align=\"center\">\ud45c\ubcf8 \ub2e4\uc218<\/td>\n<td align=\"center\">\uadfc\uc0ac\uac12, \uc99d\uac70 \uad6c\uac04<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">1 \ud589\uc740 Gaussian likelihood \uc640 Gaussian prior \ucc98\ub7fc \uc9c0\uc218\uc758 \uc5b4\uae68\ub97c \uc644\uc804\uc81c\uacf1\uc73c\ub85c \ubb36\uc744 \uc218 \uc788\ub294 \uacbd\uc6b0\uc5d0\ub9cc \uc131\ub9bd\ud55c\ub2e4. 2 \ud589\uacfc 3 \ud589\uc740 \uac19\uc740 \uc804\uac1c\uc5d0\uc11c \ub098\uc624\uba70 3 \ud589\uc774 2 \ud589\uc5d0\uc11c \ud45c\ubcf8 \uc218\uc5d0 \ub530\ub77c \ucee4\uc9c0\uc9c0 \uc54a\ub294 \ud56d\uc744 \ubc84\ub9b0 \uac83\uc774\ub2e4. 4 \ud589\uc774 \ub0b4\ub294 \uac12\uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(D)$<\/math-renderer> \uc790\uccb4\uac00 \uc544\ub2c8\ub77c \uadf8 \ud558\ud55c\uc774\ubbc0\ub85c, \uc11c\ub85c \ub2e4\ub978 model \uc758 \ud558\ud55c\uc744 \uacac\uc8fc\ub294 \uc77c\uc740 \ud558\ud55c\uc758 \ub290\uc2a8\ud55c \uc815\ub3c4\uac00 model \ub9c8\ub2e4 \ub2e4\ub97c \ub54c \ub4a4\uc9d1\ud78c\ub2e4. 5 \ud589\uacfc 6 \ud589\uc740 posterior \uc758 \ubaa8\uc591\uc744 \ubb3b\uc9c0 \uc54a\ub294 \ub300\uc2e0 \ud45c\ubcf8 \uc218\uac00 \ube44\uc6a9\uc744 \uc815\ud558\uace0, \uc218\ub834\uc744 \ub530\ub85c \uc9c4\ub2e8\ud574\uc57c \ud55c\ub2e4 [<a href=\"#ref-1\">1<\/a>].<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">4. Marginal Likelihood<\/h2><a id=\"user-content-4-marginal-likelihood\" class=\"anchor\" aria-label=\"Permalink: 4. Marginal Likelihood\" href=\"#4-marginal-likelihood\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Marginal likelihood \ub294 model \uc774 \uc790\ub8cc\ub97c \ub0bc \ud655\ub960\uc744 prior \uc758 \uac00\uc911\uce58\ub85c \ubaa8\ub4e0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \uc5d0 \uac78\uccd0 \ud3c9\uade0\ub0b8 \uac12\uc774\uba70, Bayes \uc815\ub9ac\uc758 \ubd84\ubaa8\uac00 \uadf8\uac83\uc774\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$$p(\\theta \\mid D) = \\frac{p(D \\mid \\theta)\\, p(\\theta)}{p(D)} \\hspace{19em} (1)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (1) \uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$D$<\/math-renderer> \ub294 \uad00\uce21\ud55c \uc790\ub8cc \uc804\uccb4\uc774\uace0, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \ub294 \uadf8 \uc790\ub8cc\ub97c \uc124\uba85\ud558\ub294 model \uc758 parameter \ub97c \ubaa8\uc740 vector \uc774\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \uc758 \uc131\ubd84 \uc218\ub97c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$d$<\/math-renderer>, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$D$<\/math-renderer> \uac00 \ub2f4\uc740 \uad00\uce21\uc758 \uc218\ub97c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$n$<\/math-renderer> \uc73c\ub85c \ub450\uba70, \ub450 \uac12\uc740 \uc2dd (3) \uacfc \uc2dd (4) \uc5d0\uc11c \ub2e4\uc2dc \uc4f0\uc778\ub2e4. Model \uc744 \ud558\ub098 \uc815\ud55c\ub2e4\ub294 \uac83\uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \uac00 \uc5b4\ub5a4 \uc131\ubd84\uc73c\ub85c \uc774\ub8e8\uc5b4\uc9c0\ub294\uc9c0\uc640 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(D \\mid \\theta)$<\/math-renderer> \uac00 \uc5b4\ub5a4 \ud568\uc218\uc778\uc9c0\ub97c \uc815\ud55c\ub2e4\ub294 \ub73b\uc774\ub2e4.<\/p>\n<p dir=\"auto\">Table 2. Terms of Bayes' theorem<\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th align=\"center\">#<\/th>\n<th align=\"center\">Term<\/th>\n<th align=\"center\">Symbol<\/th>\n<th align=\"center\">Reading<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">1<\/td>\n<td align=\"center\">Prior<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(\\theta)$<\/math-renderer><\/td>\n<td align=\"center\">\uc790\ub8cc\ub97c \ubcf4\uae30 \uc804 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \uc5d0 \ub450\ub294 \ubd84\ud3ec<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">2<\/td>\n<td align=\"center\">Likelihood<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(D \\mid \\theta)$<\/math-renderer><\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \ub97c \uace0\uc815\ud588\uc744 \ub54c \uc790\ub8cc\uac00 \ub098\uc62c \ud655\ub960<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">3<\/td>\n<td align=\"center\">Posterior<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(\\theta \\mid D)$<\/math-renderer><\/td>\n<td align=\"center\">\uc790\ub8cc\ub97c \ubcf8 \ub4a4 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \uc5d0 \ub450\ub294 \ubd84\ud3ec<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">4<\/td>\n<td align=\"center\">Marginal likelihood<\/td>\n<td align=\"center\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(D)$<\/math-renderer><\/td>\n<td align=\"center\">\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \ub97c \uc801\ubd84\ud574 \uc5c6\uc564 \uc790\ub8cc\uc758 \ud655\ub960<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<p dir=\"auto\">1 \ud589\uacfc 2 \ud589\uc774 \uc785\ub825\uc774\uace0 3 \ud589\uc774 \ucd9c\ub825\uc774\uba70, 4 \ud589\uc740 \ucd9c\ub825\uc744 \ud655\ub960\ubd84\ud3ec (probability distribution) \ub85c \ub9cc\ub4dc\ub294 \ubd84\ubaa8\ub2e4. 4 \ud589\uc5d0 \ubd99\uc740 marginal \uc740 \uacb0\ud569\ubd84\ud3ec (joint distribution) \uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \ub97c \uc801\ubd84\ud574 \uc5c6\uc574\ub2e4\ub294 \ub73b\uc774\uace0, likelihood \ub294 \ub0a8\uc740 \uac12\uc774 model \ud558\ub098\ub97c \ub193\uace0 \uc7b0 \uc790\ub8cc\uc758 \ud655\ub960\uc774\ub77c\ub294 \ub73b\uc774\ub2e4. Model \uc744 \ube44\uad50\ud560 \ub54c \uc774 \uac12\uc774 likelihood \uc758 \uc790\ub9ac\uc5d0 \ub4e4\uc5b4\uac04\ub2e4.<\/p>\n<p dir=\"auto\">2 \ud589\uc758 \uc774\ub984\uc5d0\ub294 \uc870\uac74\uc774 \ud558\ub098 \ubd99\ub294\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(D \\mid \\theta)$<\/math-renderer> \ub77c\ub294 \uc2dd\uc740 \ud558\ub098\uc774\uc9c0\ub9cc, \ubb34\uc5c7\uc744 \ubcc0\uc218\ub85c \ub450\ub294\uac00\uc5d0 \ub530\ub77c \uc774\ub984\uc774 \uac08\ub9b0\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \ub97c \uace0\uc815\ud558\uace0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$D$<\/math-renderer> \ub97c \ubcc0\uc218\ub85c \ubcf4\uba74 \uc790\ub8cc\uc5d0 \ub300\ud55c \ud655\ub960\ubd84\ud3ec\uc774\uace0, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$D$<\/math-renderer> \uc5d0 \ub300\ud574 \uc801\ubd84\ud558\uba74 1 \uc774 \ub41c\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$D$<\/math-renderer> \ub97c \uad00\uce21\ub41c \uac12\uc73c\ub85c \uace0\uc815\ud558\uace0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \ub97c \ubcc0\uc218\ub85c \ubcf4\uba74 \uadf8\uac83\uc774 likelihood \uc774\uba70, \uc5b4\ub290 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \uac00 \uadf8 \uc790\ub8cc\ub97c \ub354 \uc798 \ub0b4\ub193\ub294\uc9c0\ub97c \uc7ac\ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \uc758 \ud568\uc218\ub2e4. Bayes \uc815\ub9ac \uc548\uc5d0\uc11c\ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$D$<\/math-renderer> \uac00 \uc774\ubbf8 \uad00\uce21\ub41c \uac12\uc774\ubbc0\ub85c \uc5b8\uc81c\ub098 \ub4a4\ucabd \uc77d\uae30\uc774\uace0, \uc774\ub54c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \uc5d0 \ub300\ud55c \uc801\ubd84\uc740 1 \uc774 \ub418\uc9c0 \uc54a\ub294\ub2e4. Likelihood \ub97c \ubd84\ud3ec\uac00 \uc544\ub2c8\ub77c \ud568\uc218\ub77c \ubd80\ub974\ub294 \uc774\uc720\uac00 \uc774\uac83\uc774\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.1 Derivation<\/h3><a id=\"user-content-41-derivation\" class=\"anchor\" aria-label=\"Permalink: 4.1 Derivation\" href=\"#41-derivation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc720\ub3c4\uc758 \ucd9c\ubc1c\uc810\uc740 \uacb0\ud569\ubd84\ud3ec <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(D, \\theta) = p(D \\mid \\theta), p(\\theta)$<\/math-renderer> \ud558\ub098\ub2e4. \uc5ec\uae30\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \ub97c \uc801\ubd84\ud574 \uc5c6\uc560\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$D$<\/math-renderer> \ub9cc\uc758 \ubd84\ud3ec\uac00 \ub0a8\ub294\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$$p(D) = \\int p(D, \\theta)\\, d\\theta = \\int p(D \\mid \\theta)\\, p(\\theta)\\, d\\theta \\hspace{19em} (2)$$<\/math-renderer>\n<p dir=\"auto\">\uac19\uc740 \uac12\uc774 \ub2e4\ub978 \uae38\ub85c\ub3c4 \ub098\uc628\ub2e4. \uc2dd (1) \uc758 \uc88c\ubcc0\uc774 \ud655\ub960\ubd84\ud3ec\uc774\ub824\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \uc5d0 \ub300\ud55c \uc801\ubd84\uc774 1 \uc774\uc5b4\uc57c \ud558\ubbc0\ub85c, \ubd84\ubaa8\ub294 \ubd84\uc790\ub97c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \uc5d0 \ub300\ud574 \uc801\ubd84\ud55c \uac12\uc77c \uc218\ubc16\uc5d0 \uc5c6\ub2e4. \ub450 \uae38\uc774 \uac19\uc740 \uc2dd\uc5d0 \ub2ff\ub294 \uac83\uc740 \ub450 \uc870\uac74\uc774 \uac19\uc740 \uac83\uc744 \uc694\uad6c\ud558\uae30 \ub54c\ubb38\uc774\uba70, \uc5b4\ub290 \ucabd\uc73c\ub85c \uc138\uc6cc\ub3c4 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(D)$<\/math-renderer> \ub294 \uc815\uc758\uc0c1 \uc801\ubd84\uc774\ub2e4.<\/p>\n<p dir=\"auto\">\uc2dd (2) \uac00 \uc7ac\ub294 \uac83\uc740 \ud55c \uc810 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \uc5d0\uc11c\uc758 \uc801\ud569\ub3c4\uac00 \uc544\ub2c8\ub77c prior \uac00 \ud37c\ub728\ub9b0 \ub9cc\ud07c\uc758 \ud3c9\uade0\uc774\ub2e4. \uadf8\ub798\uc11c parameter \uac00 \ub9ce\uc544 prior \uac00 \ub113\uac8c \ud37c\uc9c4 model \uc740 \uc790\ub8cc\ub97c \uc798 \ub9de\ud788\ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\theta$<\/math-renderer> \ub97c \uac00\uc9c0\uace0 \uc788\uc5b4\ub3c4 \ud3c9\uade0\uc774 \uae4e\uc774\uba70, \uc774 \uae4e\uc784\uc744 Occam factor \ub77c \ubd80\ub978\ub2e4 [<a href=\"#ref-2\">2<\/a>]. Model \uc120\ud0dd\uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$p(D)$<\/math-renderer> \ub97c \uc4f0\ub294 \uc774\uc720\uac00 \uc5ec\uae30\uc5d0 \uc788\ub2e4. \uc801\ud569\ub3c4\uc640 \ubcf5\uc7a1\ub3c4\ub97c \ub530\ub85c \uc7ac\uc5b4 \ub354\ud558\ub294 \ub300\uc2e0 \ud55c \uc801\ubd84\uc774 \ub458\uc744 \ud568\uaed8 \uc13c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.2 Why the Integral Resists<\/h3><a id=\"user-content-42-why-the-integral-resists\" class=\"anchor\" aria-label=\"Permalink: 4.2 Why the Integral Resists\" href=\"#42-why-the-integral-resists\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc2dd (2) \uc758 \ub2eb\ud78c \ud574\uac00 \uc5c6\ub2e4\ub294 \uac83\uc740 \uc801\ubd84 \uad6c\uac04\uc758 \ubb38\uc81c\uac00 \uc544\ub2c8\ub77c \ud53c\uc801\ubd84 \ud568\uc218\uc758 \uc6d0\uc2dc\ud568\uc218\uac00 \ud45c\uc900 \ud568\uc218\uc758 \uc720\ud55c \uc870\ud569\uc73c\ub85c \uc801\ud788\uc9c0 \uc54a\ub294\ub2e4\ub294 \ub73b\uc774\ub2e4. \uad6c\uac04\uc744 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$(-\\infty, \\infty)$<\/math-renderer> \ub85c \ub450\ub4e0 \uc720\ud55c \uad6c\uac04\uc73c\ub85c \ub450\ub4e0 \uac19\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>\n<strong>\ub418\ub294 \uacbd\uc6b0<\/strong>: Gaussian likelihood \uc640 Gaussian prior. Conjugate \ub77c \uc9c0\uc218\uc758 \uc5b4\uae68\ub97c \uc644\uc804\uc81c\uacf1\uc73c\ub85c \ubb36\uc73c\uba74 Gaussian \uc801\ubd84 \uacf5\uc2dd\uc774 \uadf8\ub300\ub85c \uc801\uc6a9\ub41c\ub2e4.<\/li>\n<li>\n<strong>\uc548 \ub418\ub294 \uacbd\uc6b0<\/strong>: Logistic regression \ucc98\ub7fc <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\sigma(\\theta^{\\top} x)$<\/math-renderer> \uac00 \ub4e0 likelihood \uc640 Gaussian prior. \uacf1\uc774 \uc5b4\ub5a4 \ud45c\uc900 \ubd84\ud3ec \uaf34\ub3c4 \uc544\ub2c8\uc5b4\uc11c \uc801\uc744 \ub2f5\uc774 \uc5c6\ub2e4.<\/li>\n<\/ul>\n<p dir=\"auto\">Numerical \uc801\ubd84\uc774 \uc774 \ubcbd\uc744 \ub118\uc9c0 \ubabb\ud558\ub294 \uc774\uc720\ub294 \ub530\ub85c \uc788\ub2e4. \ucc28\uc6d0\ub9c8\ub2e4 \uaca9\uc790\ub97c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$m$<\/math-renderer> \uac1c \ub450\uba74 \uc810\uc774 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$m^d$<\/math-renderer> \uac1c\ub85c \ub298\uc5b4, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$d$<\/math-renderer> \uac00 \uc5f4\ub9cc \ub118\uc5b4\ub3c4 \uacc4\uc0b0\uc774 \ubd88\uac00\ub2a5\ud574\uc9c4\ub2e4. \uadf8\ub798\uc11c \uadfc\uc0ac\ub098 \ud45c\ubcf8\uc73c\ub85c \uc6b0\ud68c\ud55c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">5. Laplace Approximation<\/h2><a id=\"user-content-5-laplace-approximation\" class=\"anchor\" aria-label=\"Permalink: 5. Laplace Approximation\" href=\"#5-laplace-approximation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Laplace approximation \uc740 log posterior \ub97c MAP \uc810 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\hat\\theta$<\/math-renderer> \ub458\ub808\uc5d0\uc11c 2\ucc28\uae4c\uc9c0 \uc804\uac1c\ud574 \uc801\ubd84 \ub300\uc0c1\uc744 Gaussian \uc73c\ub85c \ubc14\uafb8\uace0, \uadf8 Gaussian \uc801\ubd84\uc744 \ub2eb\ud78c \ud615\ud0dc\ub85c \ud47c\ub2e4. \uacb0\uacfc\ub294 \uc544\ub798\uc774\uba70, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$A$<\/math-renderer> \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\hat\\theta$<\/math-renderer> \uc5d0\uc11c\uc758 \uc74c\uc758 Hessian \uc774\ub2e4. \uc720\ub3c4\ub294 <a href=\"#appendix-b-derivation-of-equations-3-and-4\">Appendix B<\/a> \uc5d0 \uc788\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$$\\log p(D) \\approx \\log p(D \\mid \\hat\\theta) + \\log p(\\hat\\theta) + \\frac{d}{2}\\log 2\\pi - \\frac{1}{2}\\log |A| \\hspace{19em} (3)$$<\/math-renderer>\n<p dir=\"auto\">\uc6b0\ubcc0\uc758 \ub124 \ud56d\uc774 \uac01\uac01 \ud558\ub294 \uc77c\uc774 \ub2e4\ub974\ub2e4. \uccab \ud56d\uc740 \ubd09\uc6b0\ub9ac\uc5d0\uc11c\uc758 \uc801\ud569\ub3c4, \ub458\uc9f8 \ud56d\uc740 \uadf8 \uc790\ub9ac\uc5d0 prior \uac00 \uc8fc\ub294 \uac00\uc911\uce58, \uc14b\uc9f8\uc640 \ub137\uc9f8 \ud56d\uc740 \ubd09\uc6b0\ub9ac \ub458\ub808\uc5d0\uc11c posterior \uac00 \ucc28\uc9c0\ud558\ub294 \ubd80\ud53c\ub2e4. \ubd80\ud53c \ud56d\uc774 Occam factor \ub97c \ub2f4\ub294\ub2e4. \ubd09\uc6b0\ub9ac\uac00 \ubfb0\uc871\ud558\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$|A|$<\/math-renderer> \uac00 \ucee4\uc838 \uac12\uc774 \uae4e\uc774\uace0, \ub113\uc73c\uba74 \ub35c \uae4e\uc778\ub2e4.<\/p>\n<p dir=\"auto\">\uad00\uce21 \uc218 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$n$<\/math-renderer> \uc774 \ucee4\uc9c0\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$A$<\/math-renderer> \uac00 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$n$<\/math-renderer> \uc5d0 \ube44\ub840\ud574 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\log|A| \\approx d \\log n$<\/math-renderer> \uc774 \ub418\uace0, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$n$<\/math-renderer> \uc5d0 \ub530\ub77c \ucee4\uc9c0\uc9c0 \uc54a\ub294 \ud56d\uc744 \ubc84\ub9ac\uba74 \uc2dd (3) \uc774 BIC \ub85c \uc904\uc5b4\ub4e0\ub2e4 [<a href=\"#ref-3\">3<\/a>].<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$$\\mathrm{BIC} = -2 \\log p(D \\mid \\hat\\theta) + d \\log n \\hspace{19em} (4)$$<\/math-renderer>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">5.1 Conditions<\/h3><a id=\"user-content-51-conditions\" class=\"anchor\" aria-label=\"Permalink: 5.1 Conditions\" href=\"#51-conditions\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li>\n<strong>\uac00\uc815<\/strong>: Posterior \uac00 \ub2e8\ubd09\uc774\uace0, \ubd09\uc6b0\ub9ac\uac00 \uc815\uc758\uc5ed\uc758 \ub0b4\ubd80\uc5d0 \uc788\uc73c\uba70, \ud45c\ubcf8\uc774 2\ucc28 \uc804\uac1c\ub97c \uc9c0\ud0f1\ud560 \ub9cc\ud07c \ub9ce\ub2e4.<\/li>\n<li>\n<strong>\uc124\uc815\uac12<\/strong>: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\hat\\theta$<\/math-renderer> \ub294 MAP \ucd94\uc815\uac12\uc774\uace0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$A$<\/math-renderer> \ub294 \uadf8 \uc790\ub9ac\uc758 \uc74c\uc758 Hessian \uc774\ub2e4. Prior \ub97c \uc0c1\uc218\ub85c \ub450\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\hat\\theta$<\/math-renderer> \ub294 \ucd5c\ub300\uac00\ub2a5\ub3c4 \ucd94\uc815\uac12\uc774 \ub41c\ub2e4.<\/li>\n<li>\n<strong>\uae68\uc9c0\ub294 \uc870\uac74<\/strong>: \ubd09\uc6b0\ub9ac\uac00 \uc5ec\ub7ff\uc774\uba74 \ud558\ub098\ub9cc \uc138\uc5b4 \uac12\uc774 \ub0ae\uac8c \ub098\uc628\ub2e4. \ud45c\ubcf8\uc774 \uc801\uc73c\uba74 \uc0c1\ub300\uc624\ucc28\uac00 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$O(1\/n)$<\/math-renderer> \uc758 \uaddc\ubaa8\ub85c \ub0a8\ub294\ub2e4 [<a href=\"#ref-4\">4<\/a>]. \ubd09\uc6b0\ub9ac\uac00 \uacbd\uacc4\uc5d0 \uc788\uc73c\uba74 Gaussian \uc801\ubd84\uc758 \uad6c\uac04\uc774 \ub9de\uc9c0 \uc54a\ub294\ub2e4. Parameter \uac00 identifiable \ud558\uc9c0 \uc54a\uc544 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$A$<\/math-renderer> \uac00 \ud2b9\uc774\ud558\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\log|A|$<\/math-renderer> \uac00 \ubc1c\uc0b0\ud55c\ub2e4.<\/li>\n<li>\n<strong>\ub9cc\ub098\ub294 \uc790\ub9ac<\/strong>: Model \uac04 Bayes factor \uacc4\uc0b0 [<a href=\"#ref-1\">1<\/a>], Gaussian process classification \uc758 evidence \uacc4\uc0b0 [<a href=\"#ref-5\">5<\/a>], \uadf8\ub9ac\uace0 BIC \ub85c model \uc744 \uace0\ub974\ub294 \ubaa8\ub4e0 \uc790\ub9ac. Gaussian process regression \uc740 conjugate \ub77c \uc774 \uadfc\uc0ac\uac00 \ud544\uc694\ud558\uc9c0 \uc54a\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">References<\/h2><a id=\"user-content-references\" class=\"anchor\" aria-label=\"Permalink: References\" href=\"#references\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\"><a id=\"user-content-ref-1\"><\/a>\n[1] Kass, R. E., &amp; Raftery, A. E. (1995). <a href=\"https:\/\/doi.org\/10.1080\/01621459.1995.10476572\" rel=\"nofollow\">Bayes Factors<\/a>. <em>Journal of the American Statistical Association<\/em>, 90(430), 773\u2013795.<br>\n<a id=\"user-content-ref-2\"><\/a>\n[2] MacKay, D. J. C. (2003). <a href=\"http:\/\/www.inference.org.uk\/mackay\/itila\/book.html\" rel=\"nofollow\">Information Theory, Inference, and Learning Algorithms<\/a>. Cambridge University Press. ISBN 978-0521642989.<br>\n<a id=\"user-content-ref-3\"><\/a>\n[3] Schwarz, G. (1978). <a href=\"https:\/\/doi.org\/10.1214\/aos\/1176344136\" rel=\"nofollow\">Estimating the Dimension of a Model<\/a>. <em>The Annals of Statistics<\/em>, 6(2), 461\u2013464.<br>\n<a id=\"user-content-ref-4\"><\/a>\n[4] Tierney, L., &amp; Kadane, J. B. (1986). <a href=\"https:\/\/doi.org\/10.1080\/01621459.1986.10478240\" rel=\"nofollow\">Accurate Approximations for Posterior Moments and Marginal Densities<\/a>. <em>Journal of the American Statistical Association<\/em>, 81(393), 82\u201386.<br>\n<a id=\"user-content-ref-5\"><\/a>\n[5] Rasmussen, C. E., &amp; Williams, C. K. I. (2006). <a href=\"https:\/\/gaussianprocess.org\/gpml\/\" rel=\"nofollow\">Gaussian Processes for Machine Learning<\/a>. MIT Press. ISBN 978-0262182539.<\/p>\n<hr>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix A. Terminology<\/h2><a id=\"user-content-appendix-a-terminology\" class=\"anchor\" aria-label=\"Permalink: Appendix A. Terminology\" href=\"#appendix-a-terminology\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li><strong>Bayes factor<\/strong>: \ub450 model \uc758 marginal likelihood \uc758 \ube44. Model \ube44\uad50\uc758 \ucc99\ub3c4\uc774\ub2e4.<\/li>\n<li><strong>BIC<\/strong>: \uc2dd (4) \uc758 \uac12. Laplace approximation \uc5d0\uc11c \ud45c\ubcf8 \uc218\uc5d0 \ub530\ub77c \ucee4\uc9c0\uc9c0 \uc54a\ub294 \ud56d\uc744 \ubc84\ub9b0 model \uc120\ud0dd \uae30\uc900\uc774\ub2e4.<\/li>\n<li><strong>bridge sampling<\/strong>: \ubcf4\uc870 \ubd84\ud3ec\ub97c \ud558\ub098 \ub450\uace0 \ub450 \ubd84\ud3ec\uc758 \ud45c\ubcf8\uc73c\ub85c marginal likelihood \uc758 \ube44\ub97c \ucd94\uc815\ud558\ub294 \ubc29\ubc95.<\/li>\n<li><strong>conjugate<\/strong>: Prior \uc640 posterior \uac00 \uac19\uc740 \ubd84\ud3ec\uc871\uc5d0 \uc18d\ud558\uac8c \ub9cc\ub4dc\ub294 prior \uc640 likelihood \uc758 \uc9dd.<\/li>\n<li><strong>evidence<\/strong>: Marginal likelihood \uc758 \ub2e4\ub978 \uc774\ub984. Model \uc120\ud0dd\uc758 \ub9e5\ub77d\uc5d0\uc11c \uc774 \uc774\ub984\uc744 \uc4f4\ub2e4.<\/li>\n<li><strong>Gaussian process<\/strong>: \uc784\uc758\uc758 \uc720\ud55c \uac1c \uc785\ub825\uc810\uc5d0\uc11c\uc758 \ud568\uc218\uac12\uc774 \uacb0\ud569 \uc815\uaddc\ubd84\ud3ec (joint normal distribution) \ub97c \uc774\ub8e8\ub294 \ud655\ub960\uacfc\uc815.<\/li>\n<li><strong>Hessian<\/strong>: \ub2e4\ubcc0\uc218 \ud568\uc218\uc758 2\ucc28 \ud3b8\ub3c4\ud568\uc218\ub97c \ubaa8\uc740 \ud589\ub82c.<\/li>\n<li><strong>identifiable<\/strong>: \uc11c\ub85c \ub2e4\ub978 parameter \uac12\uc774 \uc11c\ub85c \ub2e4\ub978 \ubd84\ud3ec\ub97c \ub0b4\ub294 \uc131\uc9c8. \uae68\uc9c0\uba74 \ubd09\uc6b0\ub9ac\uac00 \ud55c \uc810\uc774 \uc544\ub2c8\ub77c \ub2a5\uc120\uc774 \ub41c\ub2e4.<\/li>\n<li><strong>MAP<\/strong>: Posterior \ub97c \ucd5c\ub300\ub85c \ub9cc\ub4dc\ub294 parameter \uac12.<\/li>\n<li><strong>nested sampling<\/strong>: Likelihood \uc758 \ub4f1\uace0\uc120\uc744 \ub530\ub77c prior \ub97c \uc801\ubd84\ud558\uc5ec marginal likelihood \ub97c \ucd94\uc815\ud558\ub294 \ubc29\ubc95.<\/li>\n<li><strong>Occam factor<\/strong>: Prior \uac00 \ub113\uac8c \ud37c\uc9c4 model \uc5d0\uc11c marginal likelihood \uac00 \uae4e\uc774\ub294 \ubaab.<\/li>\n<li><strong>positive definite<\/strong>: 0 \uc774 \uc544\ub2cc \ubaa8\ub4e0 vector \uc5d0 \ub300\ud574 \uc774\ucc28\ud615\uc2dd\uc774 \uc591\uc218\uc778 \ud589\ub82c\uc758 \uc131\uc9c8.<\/li>\n<li><strong>posterior<\/strong>: \uc790\ub8cc\ub97c \ubcf8 \ub4a4\uc758 parameter \ubd84\ud3ec.<\/li>\n<li><strong>prior<\/strong>: \uc790\ub8cc\ub97c \ubcf4\uae30 \uc804\uc758 parameter \ubd84\ud3ec.<\/li>\n<li><strong>variational inference<\/strong>: Posterior \ub97c \uace0\ub978 \ubd84\ud3ec\uc871 \uc548\uc5d0\uc11c \uac00\uc7a5 \uac00\uae4c\uc6b4 \ubd84\ud3ec\ub85c \ubc14\uafb8\uc5b4 \ud478\ub294 \uadfc\uc0ac.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix B. Derivation of Equations (3) and (4)<\/h2><a id=\"user-content-appendix-b-derivation-of-equations-3-and-4\" class=\"anchor\" aria-label=\"Permalink: Appendix B. Derivation of Equations (3) and (4)\" href=\"#appendix-b-derivation-of-equations-3-and-4\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc2dd (2) \uc758 \ud53c\uc801\ubd84 \ud568\uc218\ub97c \uc9c0\uc218 \ud558\ub098\ub85c \ubb36\ub294 \uac83\uc5d0\uc11c \uc2dc\uc791\ud55c\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$h(\\theta)$<\/math-renderer> \ub97c \uc815\uaddc\ud654\ud558\uc9c0 \uc54a\uc740 log posterior \ub85c \ub454\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$$h(\\theta) = \\log p(D \\mid \\theta) + \\log p(\\theta), \\qquad p(D) = \\int e^{h(\\theta)}\\, d\\theta \\hspace{19em} (5)$$<\/math-renderer>\n<p dir=\"auto\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\hat\\theta$<\/math-renderer> \ub97c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$h$<\/math-renderer> \uc758 \ucd5c\ub300\uc810, \uace7 MAP \ub85c \ub450\uace0 \uadf8 \uc790\ub9ac\uc5d0\uc11c 2\ucc28\uae4c\uc9c0 Taylor \uc804\uac1c\ud55c\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$$h(\\theta) \\approx h(\\hat\\theta) + \\nabla h(\\hat\\theta)^{\\top}(\\theta - \\hat\\theta) - \\frac{1}{2}(\\theta - \\hat\\theta)^{\\top} A\\, (\\theta - \\hat\\theta) \\hspace{19em} (6)$$<\/math-renderer>\n<p dir=\"auto\">\uc5ec\uae30\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$A = -\\nabla^2 h(\\hat\\theta)$<\/math-renderer> \uc774\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\hat\\theta$<\/math-renderer> \uac00 \ub0b4\ubd80\uc758 \ucd5c\ub300\uc810\uc774\ubbc0\ub85c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\nabla h(\\hat\\theta) = 0$<\/math-renderer> \uc774\uace0, 1\ucc28 \ud56d\uc774 \uc0ac\ub77c\uc9c4\ub2e4. \ub0a8\uc740 \uac83\uc744 \uc2dd (5) \uc5d0 \ub123\uc73c\uba74 \uc0c1\uc218\uac00 \uc801\ubd84 \ubc16\uc73c\ub85c \ub098\uc628\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$$p(D) \\approx e^{h(\\hat\\theta)} \\int \\exp\\left(-\\frac{1}{2}(\\theta - \\hat\\theta)^{\\top} A\\, (\\theta - \\hat\\theta)\\right) d\\theta \\hspace{19em} (7)$$<\/math-renderer>\n<p dir=\"auto\">\uc801\ubd84\uc740 Gaussian \uc801\ubd84\uc774\ubbc0\ub85c \ub2eb\ud78c \ud615\ud0dc\ub85c \ud480\ub9b0\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$A$<\/math-renderer> \uac00 positive definite \uc774\uba74 \uac12\uc740 \uc544\ub798\uc774\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$$\\int \\exp\\left(-\\frac{1}{2} x^{\\top} A\\, x\\right) dx = (2\\pi)^{d\/2} |A|^{-1\/2} \\hspace{19em} (8)$$<\/math-renderer>\n<p dir=\"auto\">\uc2dd (7) \uacfc \uc2dd (8) \uc744 \ud569\uce58\uace0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$h(\\hat\\theta) = \\log p(D \\mid \\hat\\theta) + \\log p(\\hat\\theta)$<\/math-renderer> \ub97c \ub418\ub3cc\ub9ac\uba74 \uc2dd (9) \uac00 \ub418\uba70, \uc591\ubcc0\uc5d0 \ub85c\uadf8\ub97c \ucde8\ud55c \uac83\uc774 \uc2dd (3) \uc774\ub2e4.<\/p>\n<math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$$p(D) \\approx p(D \\mid \\hat\\theta)\\, p(\\hat\\theta)\\, (2\\pi)^{d\/2} |A|^{-1\/2} \\hspace{19em} (9)$$<\/math-renderer>\n<p dir=\"auto\">BIC \ub294 \uc5ec\uae30\uc11c \ud55c \uac78\uc74c \ub354 \uac04\ub2e4. \uad00\uce21 \ud558\ub098\ub2f9 \uc815\ubcf4\ub7c9\uc744 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$A_1$<\/math-renderer> \uc73c\ub85c \ub450\uba74 \uad00\uce21\uc774 \ub3c5\ub9bd\uc77c \ub54c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$A \\approx n A_1$<\/math-renderer> \uc774\ubbc0\ub85c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$|A| \\approx n^d |A_1|$<\/math-renderer> \uc774\uace0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\log|A| \\approx d \\log n + \\log|A_1|$<\/math-renderer> \uc774\ub2e4. \uc2dd (3) \uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$n$<\/math-renderer> \uc5d0 \ub530\ub77c \ucee4\uc9c0\uc9c0 \uc54a\ub294 \ud56d, \uace7 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\log p(\\hat\\theta)$<\/math-renderer> \uc640 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\frac{d}{2}\\log 2\\pi$<\/math-renderer> \uc640 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\log|A_1|$<\/math-renderer> \uc744 \ubc84\ub9ac\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$\\log p(D) \\approx \\log p(D \\mid \\hat\\theta) - \\frac{d}{2}\\log n$<\/math-renderer> \uc774 \ub0a8\uace0, \uc591\ubcc0\uc5d0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"10f7948f9e0101dcae288ebad5b08eff\">$-2$<\/math-renderer> \ub97c \uacf1\ud55c \uac83\uc774 \uc2dd (4) \ub2e4 [<a href=\"#ref-3\">3<\/a>].<\/p>\n<\/article><\/div><\/div><\/p>\n<div style='text-align:center' class='yasr-auto-insert-overall'><\/div><div style='text-align:center' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>The marginal likelihood is an integral, and closed forms exist only for conjugate pairs. Laplace approximation replaces the integrand with a Gaussian at the posterior mode, costing one optimization and one Hessian, and BIC is that same expansion with the terms that do not grow with sample size dropped. It fails on a multimodal posterior.<\/p>\n","protected":false},"author":4,"featured_media":7126,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","fifu_image_url":"","fifu_image_alt":"","iawp_total_views":4,"footnotes":""},"categories":[438,321],"tags":[439,386],"class_list":["post-7125","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bim-slug","category-math-slug","tag-bayes","tag-github-hosted"],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"jetpack_featured_media_url":"https:\/\/ykim.synology.me\/wordpress\/wp-content\/uploads\/2026\/09\/watermelon-pile-produce-bin.jpg","_links":{"self":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/comments?post=7125"}],"version-history":[{"count":2,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7125\/revisions"}],"predecessor-version":[{"id":7365,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/7125\/revisions\/7365"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media\/7126"}],"wp:attachment":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media?parent=7125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/categories?post=7125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/tags?post=7125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}