Skip to content

Conversation

@sekulovskin
Copy link
Contributor

The following changes have been made:

  • We now save the cluster allocation vectors from the Gibbs sampler
  • When save = FALSE we use the cluster allocation vector to calculate the cluster membership (using Dahl's method), as well as the posterior probability of the number of clusters. For the latter, I decided not to use Equation 3.7 from Miller and Harrsion, but instead simply use the sampled allocation vectors (see the summary_SBM function in the utility_functions script for more details).
  • When save = TRUE, we simply return a matrix of the sampled allocation vectors in each row. Users can then manually make use of the summary_SBM function.
  • I also added some additional clarifications in the roxygen code.

Copy link
Collaborator

@MaartenMarsman MaartenMarsman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

@MaartenMarsman MaartenMarsman merged commit fd81547 into Bayesian-Graphical-Modelling-Lab:main Dec 9, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants