View source: R/functions_EM_helper.R
get_word_prob_log | R Documentation |
get log likelihood of a document
get_word_prob_log(.C_train, .D_train, .D_test, .E, .n_class, .lambda)
.E |
output from the E step. Log scale. |
.D |
document term matrix |
.fixed_words |
matrix of fixed words with class probabilities, where ncol is the number of classes. |
a matrix of word probability(nrow = 2, ncol = V (size of vocab))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.