Description Usage Arguments Value
Wrapper function for running fit_ldats_crossval
with multiple configurations. NOT RECOMMENDED for running at scale - useful for debugging on a local machine. Use a cluster to run at scale.
1 2 3 4 5 6 7 8 9 10 | fit_multiple_ldats_crossval(
dataset,
buffer = 2,
ks,
lda_seeds,
cpts,
nit = 100,
cpt_seeds = NULL,
summarize_ll = T
)
|
dataset |
dataset |
buffer |
default 2 |
ks |
vector of integers, numbers of topics |
lda_seeds |
vector of integers, LDA seeds |
cpts |
vector of integers, cpts to try |
nit |
integer number of iterations |
cpt_seeds |
default NULL, or you can pass integers to use as the cpt seed |
summarize_ll |
return summarized (TRUE), or for every year? |
data frame of model fits for all configuations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.