Skip to content

SBM implementation in the new version of bgms #32

Merged
MaartenMarsman merged 13 commits intoBayesian-Graphical-Modelling-Lab:mainfrom
sekulovskin:developer_SBM
Feb 6, 2025
Merged

SBM implementation in the new version of bgms #32
MaartenMarsman merged 13 commits intoBayesian-Graphical-Modelling-Lab:mainfrom
sekulovskin:developer_SBM

Conversation

@sekulovskin
Copy link
Contributor

Additionally, I also tried fixing the saved prior inclusion probability in the arguments list of the output.

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 Nikola. Can you make the suggested style edits, and revert the setting of the inclusion_probability? Then, I can merge it with the main branch.

#' number of clusters. The number of clusters is derived from the
#' cardinality of the sampled \code{allocations} vector for each iteration of
#' the MCMC sampler (see \code{save = TRUE}).
#' }
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please use insertCite for the references.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe I already fixed that

allocations = summarySbm$allocations,
clusters = summarySbm$no_clusters,
arguments = arguments)
} else {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I need to check if components has names.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

1dfd1393b7b4d8b23d32a7029e67c289
This is how it looks! In easybgm it is printed in a more user-friendly way (as I showed you).

@sekulovskin
Copy link
Contributor Author

Looking good Nikola. Can you make the suggested style edits, and revert the setting of the inclusion_probability? Then, I can merge it with the main branch.

Hi Maarten,

I think I have addressed all your comments.

@MaartenMarsman MaartenMarsman merged commit 22d3d38 into Bayesian-Graphical-Modelling-Lab:main Feb 6, 2025
6 checks passed
@sekulovskin sekulovskin deleted the developer_SBM branch February 26, 2025 14:12
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