Skip to content

Commit

Permalink
Merge pull request #55 from CUQI-DTU/sprint12_fix_math_render_Gibbs
Browse files Browse the repository at this point in the history
Fix minor math rendering issue in Gibbs notebook
  • Loading branch information
nabriis authored Sep 25, 2022
2 parents b1d13ba + 1e4935e commit 1b0d8a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions training/Exercise06_Gibbs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
"source": [
"#### ★ Try yourself (optional): \n",
"\n",
"Try evaluting the un-normalized log probability density (logd) of the posterior distribution $p(\\mathbf{x}, d, s \\mid \\mathbf{y}_\\mathrm{data})$ at some points $\\mathbf{x}^*\\in \\R^n$, $d^*\\in \\R_+$ and $s^*\\in \\R_+$.\n",
"Try evaluting the un-normalized log probability density (logd) of the posterior distribution $p(\\mathbf{x}, d, s \\mid \\mathbf{y}_\\mathrm{data})$ at some points $\\mathbf{x}^*\\in \\mathbb{R}^n$, $d^*\\in \\mathbb{R}_+$ and $s^*\\in \\mathbb{R}_+$.\n",
"\n",
"Hint: The `logd` method of the `Joint` distribution takes comma-separated keyword arguments for the conditioning variables. For example, `logd(x=xstar, d=dstar, s=sstar)`.\n",
"\n",
Expand Down Expand Up @@ -696,7 +696,7 @@
"\n",
"\n",
"\\begin{align*}\n",
"\\mathbf{x} \\sim \\text{Laplace\\_diff}(\\mathbf{0}, d^{-1}),\n",
"\\mathbf{x} \\sim \\text{Laplace-diff}(\\mathbf{0}, d^{-1}),\n",
"\\end{align*}\n",
"\n",
"which translates to the assumption that $x_i-x_{i-1} \\sim \\mathrm{Laplace}(0, d^{-1})$ for $i=1, \\ldots, n$.\n",
Expand Down

0 comments on commit 1b0d8a1

Please sign in to comment.