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

Benchmark with posteriordb models #95

Open
sethaxen opened this issue Oct 7, 2022 · 2 comments
Open

Benchmark with posteriordb models #95

sethaxen opened this issue Oct 7, 2022 · 2 comments

Comments

@sethaxen
Copy link
Member

sethaxen commented Oct 7, 2022

We should benchmark the method similarly to the Pathfinder paper by running Pathfinder on many posteriordb models using code adapted from #94 (comment). We shouldn't do this in CI though, because the benchmarks would probably take a long time to run, but it would be nice to show the results in the docs and periodically re-run them.

We should look at how other packages like some in the SciML ecosystem do this.

@sethaxen
Copy link
Member Author

Now that PosteriorDB.jl has been registered, and BridgeStan is included in StanSample.jl, it should be quite straightforward to set up a Julia script that generates samples from posteriordb models using Pathfinder.

If we want the analysis to be similar to the Pathfinder paper, we should use 1-Wasserstein (aka earth mover) distance to compare the Pathfinder draws to the reference posterior draws in posteriordb, so we should see if this is available in the Julia ecosystem for multidimensional draws.

@sethaxen
Copy link
Member Author

A number of benchmarks were performed at https://github.com/mlcolab/PathfinderBenchmarks.jl

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

No branches or pull requests

1 participant