fit_multiple_ldats_crossval.Rd
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.
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