plot_class_seq function

Visualizing the number of classes during Gibbs sampling

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)

Arguments

  • 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.

Returns

No return value. Draws a plot to the current device.