Skip to content

Commit d02f6c8

Browse files
committed
latex equations
1 parent 4d99edc commit d02f6c8

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

lab2/Part2_Debiasing.ipynb

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -482,19 +482,13 @@
482482
"\n",
483483
"The equations for both of these losses are provided below:\n",
484484
"\n",
485-
"\\begin{equation*}\n",
486-
"L_{KL}(\\mu, \\sigma) = \\frac{1}{2}\\sum\\limits_{j=0}^{k-1}\\small{(\\sigma_j + \\mu_j^2 - 1 - \\log{\\sigma_j})}\n",
487-
"\\end{equation*}\n",
485+
"$$L_{KL}(\\mu, \\sigma) = \\frac{1}{2}\\sum\\limits_{j=0}^{k-1}\\small{(\\sigma_j + \\mu_j^2 - 1 - \\log{\\sigma_j})}$$\n",
488486
"\n",
489-
"\\begin{equation*}\n",
490-
"L_{x}{(x,\\hat{x})} = ||x-\\hat{x}||_1\n",
491-
"\\end{equation*}\n",
487+
"$$L_{x}{(x,\\hat{x})} = ||x-\\hat{x}||_1$$\n",
492488
"\n",
493489
"Thus for the VAE loss we have: \n",
494490
"\n",
495-
"\\begin{equation*}\n",
496-
"L_{VAE} = c\\cdot L_{KL} + L_{x}{(x,\\hat{x})}\n",
497-
"\\end{equation*}\n",
491+
"$$L_{VAE} = c\\cdot L_{KL} + L_{x}{(x,\\hat{x})}$$\n",
498492
"\n",
499493
"where $c$ is a weighting coefficient used for regularization. \n",
500494
"\n",

0 commit comments

Comments
 (0)