Skip to content

Commit 4da900c

Browse files
Added random_state to docs
1 parent 79b63a6 commit 4da900c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

docs/using_tweetopic.btm.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Creating a model:
3636
n_iterations=200,
3737
alpha=6.0,
3838
beta=0.2,
39+
random_state=42,
3940
)
4041
4142
Fitting the model on a document-term matrix:
@@ -52,4 +53,4 @@ Predicting cluster labels for unseen documents:
5253
5354
References
5455
^^^^^^^^^^
55-
`Yan, X., Guo, J., Lan, Y., & Cheng, X. (2013). A Biterm Topic Model for Short Texts. <https://dl.acm.org/doi/10.1145/2488388.2488514>`_ *Proceedings of the 22nd International Conference on World Wide Web, 1445–1456. Παρουσιάστηκε στο Rio de Janeiro, Brazil.* doi:10.1145/2488388.2488514
56+
`Yan, X., Guo, J., Lan, Y., & Cheng, X. (2013). A Biterm Topic Model for Short Texts. <https://dl.acm.org/doi/10.1145/2488388.2488514>`_ *Proceedings of the 22nd International Conference on World Wide Web, 1445–1456. Παρουσιάστηκε στο Rio de Janeiro, Brazil.* doi:10.1145/2488388.2488514

docs/using_tweetopic.dmm.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Creating a model:
5858
n_iterations=200,
5959
alpha=0.1,
6060
beta=0.2,
61+
random_state=42,
6162
)
6263
6364
Fitting the model on a document-term matrix:

0 commit comments

Comments
 (0)