Skip to content

Topic Model #1149

Discussion options

You must be logged in to vote

Hello, thank you for trying KH Coder.

Yes, it's LDA with Gibbs sampling using R's "topicmodels" package. R command is:

topicmodels::LDA(dtm,
	k = 12, # number of topics, user input value
	method = "Gibbs",
	control = list(
		seed = 1234567,
		burnin = 1000
	)
)

Text units vary depending on user selection. When using an Excel file as input, the default units are cells (h5). One cell is considered as one document.

You can also change it to "sentences" or "paragraphs". KH Coder separates paragraphs at newline characters.

I am sorry that the English manual is kind of outdated.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ko-ichi-h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants