Apply multiple models to given different number of topcis and log the perplexity to assess best model.
map_model(num_topics = seq(2, 98, by = 10), model_function = model_lda, ...) get_perplexity_data(models) # S3 method for model_collection get_perplexity_data(models)
A vector or list of number of topics to run the model with.
A gensimr model function name to use.
Any other argument that would normally be passed to
An object of class