Visualize various performance metrics as a function of K / L to aid parameter choice.
visualize_model_performance(celda.list, method, title, log = FALSE)
A celda_list object as returned from *celda()*
Which performance metric to visualize. One of ("perplexity", "harmonic", "loglik"). "perplexity" calculates the inverse of the geometric mean of the log likelihoods from each iteration of Gibbs sampling. "harmonic" calculates the marginal likelihood has the harmonic mean of the likelihoods. "loglik" plots the highest log-likelihood during Gibbs iteration.
Title for the visualize_model_performance
Set log to TRUE to visualize the log(perplexity) of Celda_CG objects. Does not work for "harmonic" metric
A ggplot object containing the requested plot(s)