View source: R/functions_EM_helper.R
get_word_prob_NB | R Documentation |
get word probability for NB step
get_word_prob_NB(.D_train, .C_train, .beta = NA)
.D_train |
DTM for training docs |
.C_train |
class matrix for training docs |
.beta |
prior parameter for eta (positive column) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.