Select the best model(s) of interest from an
LDA_set object, based on a set of user-provided functions. The
functions default to choosing the model with the lowest AIC value.
select_LDA(LDA_models = NULL, control = list())
| LDA_models | An object of class |
|---|---|
| control | A |
A reduced version of LDA_models that only includes the
selected LDA model(s). The returned object is still an object of
class LDA_set.
data(rodents) lda_data <- rodents$document_term_table r_LDA <- LDA_set(lda_data, topics = 2, nseeds = 2) select_LDA(r_LDA)