You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in `purrr::set_names()`:
! The size of `nm` (8) must be compatible with the size of
`x` (18).
Backtrace:
1. gensimr::get_docs_topics(lda_topics)
5. rlang::abort(message = message)
Things work if I set num_topics = 2L (or 3 topics) when I create the LDA model with model_lda(), but when I try to model larger number of topics, I get that error. Am I doing something wrong? Or is this a bug?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
First, thanks for creating
gensimr
!I'm trying to follow the topic modeling tutorial with my own data set. Everything works up to
wrapped_corpus_docs <- get_docs_topics(lda_topics)
where I get this error:
Here's the code in context:
Things work if I set
num_topics = 2L
(or 3 topics) when I create the LDA model withmodel_lda()
, but when I try to model larger number of topics, I get that error. Am I doing something wrong? Or is this a bug?Thanks in advance!
The text was updated successfully, but these errors were encountered: