Visualizing the number of classes during Gibbs sampling
This function plots the number of latent Glasses during Gibbs sampling to visualize the class updating.
plot_class_seq(class_sequence, B)
class_sequence
: The sequence of class numbers during Gibbs sampling of length R
.B
: The length of the burn-in period, i.e. a non-negative number of samples to be discarded.No return value. Draws a plot to the current device.
Useful links