select_LDA {LDATS} | R Documentation |
Select the best LDA model(s) for use in time series
Description
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.
Usage
select_LDA(LDA_models = NULL, control = list())
Arguments
LDA_models |
An object of class |
control |
A |
Value
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
.
Examples
data(rodents)
lda_data <- rodents$document_term_table
r_LDA <- LDA_set(lda_data, topics = 2, nseeds = 2)
select_LDA(r_LDA)
[Package LDATS version 0.3.0 Index]