Skip to content

Commit d64f15e

Browse files
chp1 style for mathajx
1 parent 5f5ee73 commit d64f15e

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

Chapter1_Introduction/Chapter1_Introduction.ipynb

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -54,27 +54,6 @@
5454
"</style>"
5555
]
5656
},
57-
{
58-
"cell_type": "markdown",
59-
"metadata": {},
60-
"source": [
61-
"<script>\n",
62-
" MathJax.Hub.Config({\n",
63-
" TeX: {\n",
64-
" extensions: [\"AMSmath.js\"]\n",
65-
" },\n",
66-
" tex2jax: {\n",
67-
" inlineMath: [ ['$','$'], [\"\\\\(\",\"\\\\)\"] ],\n",
68-
" displayMath: [ ['$$','$$'], [\"\\\\[\",\"\\\\]\"] ]\n",
69-
" },\n",
70-
" displayAlign: 'center', // Change this to 'center' to center equations.\n",
71-
" \"HTML-CSS\": {\n",
72-
" styles: {'.MathJax_Display': {\"margin\": 4}}\n",
73-
" }\n",
74-
" });\n",
75-
"</script>"
76-
]
77-
},
7857
{
7958
"cell_type": "markdown",
8059
"metadata": {},
@@ -532,10 +511,10 @@
532511
"\n",
533512
"Recall that $\\lambda_i, \\; i=1,2,$ can be any positive number. The *exponential* random variable has a density function for any positive number. This would be a good choice to model $\\lambda_i$. But again, we need a parameter for this exponential distribution: call it $\\alpha$.\n",
534513
"\n",
535-
"\\begin{align*}\n",
514+
"\\begin{align}\n",
536515
"&\\lambda_1 \\sim \\text{Exp}( \\alpha ) \\\\\\\n",
537516
"&\\lambda_2 \\sim \\text{Exp}( \\alpha )\n",
538-
"\\end{align*}\n",
517+
"\\end{align}\n",
539518
"\n",
540519
"$\\alpha$ is called a *hyper-parameter*, literally a parameter that influences other parameters. The influence is not too strong, so we can choose $\\alpha$ liberally. A good rule of thumb is to set the exponential parameter equal to the inverse of the average of the count data, since \n",
541520
"\n",

0 commit comments

Comments
 (0)