Skip to content

Commit 47392b7

Browse files
Added reference to paper published in JOSS, updated version number
1 parent e21ae51 commit 47392b7

File tree

5 files changed

+76
-17
lines changed

5 files changed

+76
-17
lines changed

CITATION.cff

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
cff-version: "1.2.0"
2+
authors:
3+
- family-names: Stimper
4+
given-names: Vincent
5+
orcid: "https://orcid.org/0000-0002-4965-4297"
6+
- family-names: Liu
7+
given-names: David
8+
- family-names: Campbell
9+
given-names: Andrew
10+
- family-names: Berenz
11+
given-names: Vincent
12+
- family-names: Ryll
13+
given-names: Lukas
14+
- family-names: Schölkopf
15+
given-names: Bernhard
16+
orcid: "https://orcid.org/0000-0002-8177-0925"
17+
- family-names: Hernández-Lobato
18+
given-names: José Miguel
19+
doi: 10.5281/zenodo.8027667
20+
message: If you use this software, please cite our article in the
21+
Journal of Open Source Software.
22+
preferred-citation:
23+
authors:
24+
- family-names: Stimper
25+
given-names: Vincent
26+
orcid: "https://orcid.org/0000-0002-4965-4297"
27+
- family-names: Liu
28+
given-names: David
29+
- family-names: Campbell
30+
given-names: Andrew
31+
- family-names: Berenz
32+
given-names: Vincent
33+
- family-names: Ryll
34+
given-names: Lukas
35+
- family-names: Schölkopf
36+
given-names: Bernhard
37+
orcid: "https://orcid.org/0000-0002-8177-0925"
38+
- family-names: Hernández-Lobato
39+
given-names: José Miguel
40+
date-published: 2023-06-24
41+
doi: 10.21105/joss.05361
42+
issn: 2475-9066
43+
issue: 86
44+
journal: Journal of Open Source Software
45+
publisher:
46+
name: Open Journals
47+
start: 5361
48+
title: "normflows: A PyTorch Package for Normalizing Flows"
49+
type: article
50+
url: "https://joss.theoj.org/papers/10.21105/joss.05361"
51+
volume: 8
52+
title: "normflows: A PyTorch Package for Normalizing Flows"

README.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
[![documentation](https://github.com/VincentStimper/normalizing-flows/actions/workflows/mkdocs.yaml/badge.svg)](https://vincentstimper.github.io/normalizing-flows/)
44
![unit-tests](https://github.com/VincentStimper/normalizing-flows/actions/workflows/pytest.yaml/badge.svg)
55
![code coverage](https://raw.githubusercontent.com/VincentStimper/normalizing-flows/coverage-badge/coverage.svg?raw=true)
6-
[![License: MIT](https://img.shields.io/badge/Licence-MIT-lightgrey)](https://opensource.org/licenses/MIT)
7-
[![arXiv](https://img.shields.io/badge/arXiv-2302.12014-b31b1b.svg)](https://arxiv.org/abs/2302.12014)
8-
[![PyPI](https://img.shields.io/badge/PyPI-1.7.0-blue.svg)](https://pypi.org/project/normflows/)
6+
[![License: MIT](https://img.shields.io/badge/Licence-MIT-b31b1b.svg)](https://opensource.org/licenses/MIT)
7+
[![DOI](https://joss.theoj.org/papers/10.21105/joss.05361/status.svg)](https://doi.org/10.21105/joss.05361)
8+
[![PyPI](https://img.shields.io/badge/PyPI-1.7.1-blue.svg)](https://pypi.org/project/normflows/)
99
[![Downloads](https://static.pepy.tech/personalized-badge/normflows?period=total&units=international_system&left_color=grey&right_color=orange&left_text=Downloads)](https://pepy.tech/project/normflows)
1010

1111

1212
`normflows` is a PyTorch implementation of discrete normalizing flows. Many popular flow architectures are implemented,
1313
see the [list below](#implemented-flows). The package can be easily [installed via pip](#installation).
1414
The basic usage is described [here](#usage), and a [full documentation](https://vincentstimper.github.io/normalizing-flows/)
15-
is available as well. A more detailed description of this package is given in out accompanying
16-
[paper](https://arxiv.org/abs/2302.12014).
15+
is available as well. A more detailed description of this package is given in our
16+
[accompanying paper](https://joss.theoj.org/papers/10.21105/joss.05361).
1717

1818
Several sample use cases are provided in the
1919
[`examples` folder](https://github.com/VincentStimper/normalizing-flows/blob/master/examples),
@@ -175,7 +175,7 @@ as well, we apply a Neural Spline Flow model to a distribution defined on a cyli
175175

176176
![Neural Spline Flow applied to target distribution on a cylinder](https://raw.githubusercontent.com/VincentStimper/normalizing-flows/master/figures/nsf_cylinder_3d.png)
177177

178-
This example is considered in the [paper](https://arxiv.org/abs/2302.12014) accompanying this repository.
178+
This example is considered in the [paper](https://joss.theoj.org/papers/10.21105/joss.05361) accompanying this repository.
179179

180180
## Support
181181

@@ -228,20 +228,27 @@ has been build upon `normflows`.
228228

229229
## Citation
230230

231-
If you use `normflows`, please consider citing the [corresponding paper](https://arxiv.org/abs/2302.12014) as follows.
231+
If you use `normflows`, please cite the
232+
[corresponding paper](https://joss.theoj.org/papers/10.21105/joss.05361) as follows.
232233

233-
> Vincent Stimper, David Liu, Andrew Campbell, Vincent Berenz, Lukas Ryll, Bernhard Schölkopf, José Miguel Hernández-Lobato.
234-
> normflows: A PyTorch Package for Normalizing Flows, arXiv preprint arXiv:2302.12014, 2023.
234+
> Stimper et al., (2023). normflows: A PyTorch Package for Normalizing Flows.
235+
> Journal of Open Source Software, 8(86), 5361, https://doi.org/10.21105/joss.05361
235236
236237
**Bibtex**
237238

238239
```
239-
@article{normflows,
240-
author = {Vincent Stimper and David Liu and Andrew Campbell and Vincent Berenz and Lukas Ryll and Bernhard Sch{\"o}lkopf and Jos{\'e} Miguel Hern{\'a}ndez-Lobato},
241-
title = {normflows: {A} {P}y{T}orch {P}ackage for {N}ormalizing {F}lows},
242-
journal = {arXiv preprint arXiv:2302.12014},
240+
@article{Stimper2023,
241+
author = {Vincent Stimper and David Liu and Andrew Campbell and Vincent Berenz and Lukas Ryll and Bernhard Schölkopf and José Miguel Hernández-Lobato},
242+
title = {normflows: A PyTorch Package for Normalizing Flows},
243+
journal = {Journal of Open Source Software},
244+
volume = {8},
245+
number = {86},
246+
pages = {5361},
247+
publisher = {The Open Journal},
248+
doi = {10.21105/joss.05361},
249+
url = {https://doi.org/10.21105/joss.05361},
243250
year = {2023}
244-
}
251+
}
245252
```
246253

247254

examples/paper_example_nsf_colab.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"id": "a3f13738",
2222
"metadata": {},
2323
"source": [
24-
"This is the example we consider in our [paper](https://arxiv.org/abs/2302.12014) about the `normflows` package.\n",
24+
"This is the example we consider in our [paper](https://joss.theoj.org/papers/10.21105/joss.05361) about the `normflows` package.\n",
2525
"\n",
2626
"We aim to approximate a distribution having as circular and a normal coordinate. To construct such a case, let $x$ be the normal (unbound) coordinate follow a standard normal distribution, i.e.\n",
2727
"$$ p(x) = \\frac{1}{\\sqrt{2\\pi}} e^{-\\frac{1}{2} x ^ 2}.$$\n",

normflows/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
from . import sampling
1111
from .sampling import HAIS
1212

13-
__version__ = "1.7.0"
13+
__version__ = "1.7.1"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from codecs import open
33
from os import path
44

5-
__version__ = "1.7.0"
5+
__version__ = "1.7.1"
66

77
here = path.abspath(path.dirname(__file__))
88

0 commit comments

Comments
 (0)