View source: R/functions_EM_helper.R
E_step | R Documentation |
E step of the EM algorithm
E_step(
.D_test,
.X_c = NA,
.X_b = NA,
.class_prob,
.word_prob,
.mu = NA,
.sig = NA,
.psi = NA
)
.D_test |
document term matrix for the test documents |
.class_prob |
log of the class probability |
.word_prob |
log of the word probability |
a matrix of the log probability of each doc having each class dimension is length(D_test) by 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.