Skip to content

Commit 07b2e91

Browse files
authored
Merge pull request #203 from astro-informatics/v1.0.2_housekeeping
Upon merging sets snapshot of our v1.0.3 release
2 parents 50dbecc + b14f9e0 commit 07b2e91

File tree

10 files changed

+48
-517
lines changed

10 files changed

+48
-517
lines changed

.github/workflows/python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Harmonic
1+
name: Tests
22

33
on: [push]
44

.pip_readme.rst

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ harmonic
1313
.. :target: https://badge.fury.io/py/harmonic
1414
.. image:: https://img.shields.io/badge/License-GPL-blue.svg
1515
:target: http://perso.crans.org/besson/LICENSE.html
16-
.. image:: http://img.shields.io/badge/arXiv-20XX.XXXXX-orange.svg?style=flat
17-
:target: https://arxiv.org/abs/20XX.XXXXX
16+
.. image:: http://img.shields.io/badge/arXiv-2111.12720-orange.svg?style=flat
17+
:target: https://arxiv.org/abs/2111.12720
1818
.. .. image:: https://img.shields.io/pypi/pyversions/harmonic.svg
1919
.. :target: https://pypi.python.org/pypi/harmonic/
2020
2121
2222
**Python package to efficiently compute the learnt harmonic mean estimator of the Bayesian evidence**
2323

2424

25-
``harmonic`` is an open source, well tested and documented Python implementation of the *learnt harmonic mean estimator* (`McEwen et al. 2021 <TBC>`_) to compute the marginal likelihood (Bayesian evidence), required for Bayesian model selection.
25+
``harmonic`` is an open source, well tested and documented Python implementation of the *learnt harmonic mean estimator* (`McEwen et al. 2021 <https://arxiv.org/abs/2111.12720>`_) to compute the marginal likelihood (Bayesian evidence), required for Bayesian model selection.
2626

2727
While ``harmonic`` requires only posterior samples, and so is agnostic to the technique used to perform Markov chain Monte Carlo (MCMC) sampling, ``harmonic`` works exceptionally well with MCMC sampling techniques that naturally provide samples from multiple chains by their ensemble nature, such as affine invariant ensemble samplers. We therefore advocate use of `harmonic` with the popular `emcee <https://github.com/dfm/emcee>`_ code implementing the affine invariant sampler of `Goodman & Weare (2010) <https://cims.nyu.edu/~weare/papers/d13.pdf>`_.
2828

@@ -33,17 +33,20 @@ Documentation
3333

3434
Comprehensive `documentation for harmonic <https://astro-informatics.github.io/harmonic/>`_ is available.
3535

36-
Please cite `McEwen et al. (2021) <TBC>`_ if this code package has been of use in your project.
36+
Attribution
37+
-----------
38+
39+
Please cite `McEwen et al. (2021) <https://arxiv.org/abs/2111.12720>`_ if this code package has been of use in your project.
3740

3841
A BibTeX entry for the paper is:
3942

4043
.. code-block::
4144
4245
@article{harmonic,
4346
author = {Jason~D.~McEwen and Christopher~G.~R.~Wallis and Matthew~A.~Price and Matthew~M.~Docherty},
44-
title = {Machine learning assisted Bayesian model comparison: learnt harmonic mean estimator},
47+
title = {Machine learning assisted {B}ayesian model comparison: learnt harmonic mean estimator},
4548
journal = {ArXiv},
46-
eprint = {arXiv:XXXX.XXXX},
49+
eprint = {arXiv:2111.12720},
4750
year = 2021
4851
}
4952

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
:target: https://badge.fury.io/py/harmonic
1111
.. image:: https://img.shields.io/badge/License-GPL-blue.svg
1212
:target: http://perso.crans.org/besson/LICENSE.html
13-
.. image:: http://img.shields.io/badge/arXiv-20XX.XXXXX-orange.svg?style=flat
14-
:target: https://arxiv.org/abs/20XX.XXXXX
13+
.. image:: http://img.shields.io/badge/arXiv-2111.12720-orange.svg?style=flat
14+
:target: https://arxiv.org/abs/2111.12720
1515
.. .. image:: https://img.shields.io/pypi/pyversions/harmonic.svg
1616
.. :target: https://pypi.python.org/pypi/harmonic/
1717
@@ -22,7 +22,7 @@
2222

2323
<img src="./docs/assets/harm_badge_simple.svg" align="center" height="52" width="52">
2424

25-
``harmonic`` is an open source, well tested and documented Python implementation of the *learnt harmonic mean estimator* (`McEwen et al. 2021 <TBC>`_) to compute the marginal likelihood (Bayesian evidence), required for Bayesian model selection.
25+
``harmonic`` is an open source, well tested and documented Python implementation of the *learnt harmonic mean estimator* (`McEwen et al. 2021 <https://arxiv.org/abs/2111.12720>`_) to compute the marginal likelihood (Bayesian evidence), required for Bayesian model selection.
2626

2727
While ``harmonic`` requires only posterior samples, and so is agnostic to the technique used to perform Markov chain Monte Carlo (MCMC) sampling, ``harmonic`` works exceptionally well with MCMC sampling techniques that naturally provide samples from multiple chains by their ensemble nature, such as affine invariant ensemble samplers. We therefore advocate use of `harmonic` with the popular `emcee <https://github.com/dfm/emcee>`_ code implementing the affine invariant sampler of `Goodman & Weare (2010) <https://cims.nyu.edu/~weare/papers/d13.pdf>`_.
2828

@@ -75,17 +75,17 @@ Contributors
7575
Attribution
7676
===========
7777

78-
Please cite `McEwen et al. (2021) <TBC>`_ if this code package has been of use in your project.
78+
Please cite `McEwen et al. (2021) <https://arxiv.org/abs/2111.12720>`_ if this code package has been of use in your project.
7979

8080
A BibTeX entry for the paper is:
8181

8282
.. code-block::
8383
8484
@article{harmonic,
8585
author = {Jason~D.~McEwen and Christopher~G.~R.~Wallis and Matthew~A.~Price and Matthew~M.~Docherty},
86-
title = {Machine learning assisted Bayesian model comparison: learnt harmonic mean estimator},
86+
title = {Machine learning assisted {B}ayesian model comparison: learnt harmonic mean estimator},
8787
journal = {ArXiv},
88-
eprint = {arXiv:XXXX.XXXX},
88+
eprint = {arXiv:2111.12720},
8989
year = 2021
9090
}
9191

docs/assets/refs.bib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@article{harmonic,
22
author = {Jason~D.~McEwen and Christopher~G.~R.~Wallis and Matthew~A.~Price and Matthew~M.~Docherty},
3-
title = {Machine learning assisted Bayesian model comparison: learnt harmonic mean estimator},
3+
title = {Machine learning assisted {B}ayesian model comparison: learnt harmonic mean estimator},
44
journal = {ArXiv},
5-
eprint = {arXiv:XXXX.XXXX},
5+
eprint = {arXiv:2111.12720},
66
year = 2021
77
}

0 commit comments

Comments
 (0)