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

Export exact partition functions #409

Closed
osorensen opened this issue Mar 24, 2024 · 0 comments
Closed

Export exact partition functions #409

osorensen opened this issue Mar 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@osorensen
Copy link
Collaborator

For Cayley, Kendall, and Hamming, functions for computing the exact partition function should be exported. Currently this is the way to get them:

library(BayesMallows)
BayesMallows:::get_partition_function(
  alpha = 3, n_items = 10, metric = "cayley", pfun_values = NULL)
@osorensen osorensen added the enhancement New feature or request label Mar 24, 2024
osorensen added a commit that referenced this issue Mar 25, 2024
osorensen added a commit that referenced this issue Mar 25, 2024
* fixing documentation typo

* fixing #409
osorensen added a commit that referenced this issue Mar 26, 2024
* incrementing dev version

* updating news

* Allow different initial values across particles also when using pairwise preference data (#406)

* simplifications

* used Cpp for all_topological_sorts. Much much faster, since it is recursive code

* converted preferences to matrix for SMC

* starting to set up preferences

* done

* styling

* removed shuffle_unranked argument

* restructured arguments to setup_rank_data for pairwise preferences

* fixing some errors

* removing unnecessary statement

* fixed bug in augmented rankings for existing users

* made a better progress reporter

* updated news and description

* fixed #407 (#408)

* Fixing bug in Ulam distance (#411)

* fixed bug and added test

* simplifying

* styling

* Exporting exact partition function (#412)

* fixing documentation typo

* fixing #409

* Consistency checks with pairwise preferences (#414)

* fixed issue with updated users with pairwise preferences

* fixed #404
osorensen added a commit that referenced this issue Apr 19, 2024
* incrementing dev version

* updating news

* Allow different initial values across particles also when using pairwise preference data (#406)

* simplifications

* used Cpp for all_topological_sorts. Much much faster, since it is recursive code

* converted preferences to matrix for SMC

* starting to set up preferences

* done

* styling

* removed shuffle_unranked argument

* restructured arguments to setup_rank_data for pairwise preferences

* fixing some errors

* removing unnecessary statement

* fixed bug in augmented rankings for existing users

* made a better progress reporter

* updated news and description

* fixed #407 (#408)

* Fixing bug in Ulam distance (#411)

* fixed bug and added test

* simplifying

* styling

* Exporting exact partition function (#412)

* fixing documentation typo

* fixing #409

* Consistency checks with pairwise preferences (#414)

* fixed issue with updated users with pairwise preferences

* fixed #404

* improved cpp code for topological sorts

* incrementing dev version

* generating all topological sorts in random order

* adding save=TRUE argument where necessary

* incrementing and updating

* updating cran comments

* fixing a long-running example

* fixing CodeFactor issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant