if (FALSE) {
main_dir <- "path/to/folder"
template_docs <- "path/to/template_training_docs"
template_list <- make_clustering_template(
main_dir = main_dir,
template_docs = template_docs,
writer_indices = c(2, 5),
K = 10,
num_dist_cores = 2,
max_iters = 25,
centers_seed = 100,
)
}
Run the code above in your browser using DataLab