Skip to content

Commit 25c7f04

Browse files
dongkwan-kimjunpenglao
authored andcommitted
Fix typos in docs/source/notebooks/lda-advi-aevb.ipynb (#3252)
1 parent 31370f3 commit 25c7f04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/notebooks/lda-advi-aevb.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
}
7878
],
7979
"source": [
80-
"# The number of words in the vocaburary\n",
80+
"# The number of words in the vocabulary\n",
8181
"n_words = 1000\n",
8282
"\n",
8383
"print(\"Loading dataset...\")\n",
@@ -247,7 +247,7 @@
247247
" total_size=n_samples_tr)\n",
248248
" beta = Dirichlet('beta', a=pm.floatX((1.0 / n_topics) * np.ones((n_topics, n_words))), \n",
249249
" shape=(n_topics, n_words), transform=t_stick_breaking(1e-9))\n",
250-
" # Note, that we devined likelihood with scaling, se here we need no additional `total_size` kwarg\n",
250+
" # Note, that we defined likelihood with scaling, so here we need no additional `total_size` kwarg\n",
251251
" doc = pm.DensityDist('doc', logp_lda_doc(beta, theta), observed=doc_t)"
252252
]
253253
},

0 commit comments

Comments
 (0)