Skip to content

Commit

Permalink
Added random_state to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
x-tabdeveloping committed Jun 5, 2024
1 parent 79b63a6 commit 4da900c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/using_tweetopic.btm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Creating a model:
n_iterations=200,
alpha=6.0,
beta=0.2,
random_state=42,
)
Fitting the model on a document-term matrix:
Expand All @@ -52,4 +53,4 @@ Predicting cluster labels for unseen documents:
References
^^^^^^^^^^
`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
`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
1 change: 1 addition & 0 deletions docs/using_tweetopic.dmm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Creating a model:
n_iterations=200,
alpha=0.1,
beta=0.2,
random_state=42,
)
Fitting the model on a document-term matrix:
Expand Down

0 comments on commit 4da900c

Please sign in to comment.