fit_multiple_ldats_crossval: Fit multiple LDATS crossval models

Description Usage Arguments Value

View source: R/toplevel_run.R

Description

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.

Usage

 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
)

Arguments

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?

Value

data frame of model fits for all configuations


diazrenata/cvlt documentation built on Dec. 19, 2021, 11:08 p.m.