Open Lazel102 opened 3 years ago
Hello, I am trying to evaluate a topic model with the help of stminsight. I produce my model using the following code:
out <- stm out=prepDocuments(stm$documents,stm$vocab,stm$meta) stm_object_8 <- stm(documents = out$documents, vocab = out$vocab, data = out$meta, K = 8, init.type = "Spectral", max.em.its = 10000) plot(stm_object_8) save(out, stm_object_8, file = "STMinsgihts_final.RData") library('stminsights') run_stminsights()
out <- stm
out=prepDocuments(stm$documents,stm$vocab,stm$meta)
stm_object_8 <- stm(documents = out$documents, vocab = out$vocab, data = out$meta, K = 8, init.type = "Spectral", max.em.its = 10000)
plot(stm_object_8)
save(out, stm_object_8, file = "STMinsgihts_final.RData")
library('stminsights')
run_stminsights()
However loading the RData file leaves me with the following error:
Warning: Error in findThoughts: Number of provided texts and number of documents modeled do not match
stminsights is still running but it displays only the terms and does not show the documents. Any help is appreciated!
Hello, I am trying to evaluate a topic model with the help of stminsight. I produce my model using the following code:
out <- stm
out=prepDocuments(stm$documents,stm$vocab,stm$meta)
stm_object_8 <- stm(documents = out$documents, vocab = out$vocab, data = out$meta, K = 8, init.type = "Spectral", max.em.its = 10000)
plot(stm_object_8)
save(out, stm_object_8, file = "STMinsgihts_final.RData")
library('stminsights')
run_stminsights()
However loading the RData file leaves me with the following error:
Warning: Error in findThoughts: Number of provided texts and number of documents modeled do not match
stminsights is still running but it displays only the terms and does not show the documents. Any help is appreciated!