Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output model weighted mrgs #12

Merged

Conversation

ceciliaferrando
Copy link
Contributor

Adding a few changes to output AIM model in addition to synthetic data, and support weighted marginals in workload.

run() outputs the AIM model and the synthetic data, with option to specify number of synthetic data samples.

workload comprises (clique, weight) tuples.

compile_workload() accounts for weights in score computation.

In run(), user can provide custom initial_cliques (e.g. marginals containing target) for intelligent initialization. If None, 1-way marginals are used.

Added max_iters argument.

@ryan112358
Copy link
Owner

Thanks for the PR, looks great!

@ryan112358 ryan112358 closed this Apr 2, 2024
@ryan112358 ryan112358 reopened this Apr 2, 2024
@ryan112358 ryan112358 merged commit 3f36eee into ryan112358:master Jun 4, 2024
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.

None yet

2 participants