Skip to content

Commit cc2e0bf

Browse files
Dev (#153)
* Changing to JSON schema draft/2020-12 * Docs * Supporting Snakefile 9
1 parent 845271d commit cc2e0bf

File tree

102 files changed

+4365
-3782
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+4365
-3782
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ You may also have a look at [this Medium story](https://medium.com/@felixleopold
4242
pages = {1--43},
4343
doi = {10.18637/jss.v114.i12}
4444
}
45+
4546
```
4647

4748
## Contact

docs/render_alg_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def info_to_small_table():
162162
tab += str2link(info["data_types"][i]) +", "
163163
tab = tab[:-2]
164164
else:
165-
tab += "\-"
165+
tab += r"\-"
166166
tab += "\n"
167167

168168
# MCMC:
976 KB
Loading

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
'sphinx_last_updated_by_git',
4545
'versionwarning.extension',
4646
"sphinxext.opengraph",
47-
"sphinxcontrib.googleanalytics"
47+
"sphinxcontrib.googleanalytics",
48+
"sphinxcontrib.youtube"
4849
]
4950
googleanalytics_id = "G-CDYR88PWR3"
5051

docs/source/dev_guide.rst

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
11
Authors
22
################
33

4+
.. image:: _static/IMG_784FC721EEEE-1.png
5+
:width: 250
6+
47
| `Felix Rios <https://felixleopoldo.github.io>`_
58
| `Department of Paediatrics, Division of Biomedical Data Science <https://medicine.nus.edu.sg/sites/bids/people.html>`_
69
| NUS Singapore
710
11+
12+
13+
.. image:: https://avatar.unibas.ch/image/236B4DEB-A2B0-47C4-BDA0-D9D46334F7E9
14+
:width: 250
15+
16+
817
| `Giusi Moffa <https://dmi.unibas.ch/en/persons/moffa-giusi/>`_
918
| `Department of Mathematics and Computer Science <https://dmi.unibas.ch/en/>`_
1019
| University of Basel, Switzerland
1120
21+
.. image:: https://bsse.ethz.ch/cbg/group/people/person-detail.person_image.jpeg?persid=MjA3Mjc0
22+
:width: 250
23+
24+
1225
| `Jack Kuipers <https://bsse.ethz.ch/cbg/group/people/person-detail.MjA3Mjc0.TGlzdC81MTYsOTQ0ODM3Mzc2.html>`_
1326
| `Department of Biosystems Science and Eng. <https://bsse.ethz.ch/>`_
1427
| ETH Zürich, Switzerland
@@ -57,14 +70,16 @@ BibTeX entry for citing Benchpress:
5770

5871
.. code:: bibtex
5972
60-
@misc{rios2021benchpress,
61-
title={Benchpress: a scalable and versatile workflow for benchmarking structure learning algorithms for graphical models},
62-
author={Felix L. Rios and Giusi Moffa and Jack Kuipers},
63-
year={2021},
64-
eprint={2107.03863},
65-
archivePrefix={arXiv (to appear in the Journal of Statistical Software)},
66-
primaryClass={stat.ML}
67-
}
73+
@Article{rios2025benchpress,
74+
author = {Felix L. Rios and Giusi Moffa and Jack Kuipers},
75+
title = {{Benchpress}: A Versatile Platform for Structure Learning in Causal and Probabilistic Graphical Models},
76+
journal = {Journal of Statistical Software},
77+
year = {2025},
78+
volume = {114},
79+
number = {12},
80+
pages = {1--43},
81+
doi = {10.18637/jss.v114.i12}
82+
}
6883
6984
.. footbibliography::
7085

docs/source/index.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,17 @@ generated datasets, the workflow also includes a number of standard datasets and
8383

8484
.. rubric:: See also
8585

86-
* The paper :footcite:t:`rios2021benchpress` (to appear in the `Journal of Statistical Software <https://www.jstatsoft.org/index>`_)
86+
* The paper :footcite:t:`rios2025benchpress` (to appear in the `Journal of Statistical Software <https://www.jstatsoft.org/index>`_)
8787
* The `GitHub <https://github.com/felixleopoldo/benchpress>`_ repository
8888
* This `Medium story <https://medium.com/@felixleopoldorios/structure-learning-using-benchpress-826847db0aa8>`_
8989
* This video tutorial `UAI 2023 Tutorial: Structure Learning Using Benchpress - YouTube <https://www.youtube.com/watch?v=tx3hIH3b9Hg>`_
90-
* The `Discord <https://discord.gg/9zzPwMDW>`_ chat for any kind of discussions etc.
90+
91+
.. * The `Discord <https://discord.gg/9zzPwMDW>`_ chat for any kind of discussions etc.
92+
93+
94+
.. youtube:: tx3hIH3b9Hg
95+
:width: 640
96+
:height: 480
9197

9298
.. .. note::
9399

@@ -96,6 +102,7 @@ generated datasets, the workflow also includes a number of standard datasets and
96102
97103
.. rubric:: News
98104

105+
* 2025-09-10: Benchpress 2.13.0. This version supports `Snakemake 9 <https://snakemake.readthedocs.io/en/stable/>`_.
99106
* 2024-12-26: Benchpress 2.12.0. This version introduces the :ref:`pyagrum` module, providing access to the `pyAgrum <https://agrum.gitlab.io/>`_ library's structure learning capabilities for discrete valued Bayesian networks.
100107
* 2024-12-16: Benchpress 2.11.0. This version introduces the :ref:`bips_tpc` module, based on the temporal PC (`tPC <https://github.com/bips-hb/tpc>`_) and the `micd <https://github.com/bips-hb/micd>`_ package. It enables causal discovery through the PC algorithm allowing for :ref:`edge_constraints`, mixed data, and missing data handling. Thanks `Leibniz-Institut für Präventionsforschung und Epidemiologie – (BIPS GmbH) <https://github.com/bips-hb>`_.
101108
* 2024-11-30: Benchpress 2.10.0. This version includes algorithms from the `missing value PC (MVPC) <https://github.com/TURuibo/MVPC>`_ package for sampling data with missing values (:ref:`mvpc_gen_data`) and causal discovery (:ref:`mvpc`) in the presence of missing values.

docs/source/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Start an interactive `Docker <https://www.docker.com/>`_ container (based on the
116116

117117
.. prompt:: bash
118118

119-
docker run -it -w /mnt --privileged -v /absolute/path/to/benchpress:/mnt bpimages/snakemake:v8.11.6
119+
docker run -it -w /mnt --privileged -v /absolute/path/to/benchpress:/mnt bpimages/snakemake:9.7.1
120120

121121
Depending on your system, you may have to prepend the above command by *sudo*.
122122
On Windows, you may have to escape spaces in the benchpress path using ^ or \`.

docs/source/parameters/bin_bn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ bin_bn
1818
* - Docs
1919
-
2020
* - Paper
21-
- :footcite:t:`rios2021benchpress`
21+
- :footcite:t:`rios2025benchpress`
2222
* - Graph type
2323
- `DAG <https://en.wikipedia.org/wiki/Directed_acyclic_graph>`__
2424
* - Docker

docs/source/parameters/sem_params.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ sem_params
1818
* - Docs
1919
-
2020
* - Paper
21-
- :footcite:t:`rios2021benchpress`
21+
- :footcite:t:`rios2025benchpress`
2222
* - Graph type
2323
- `DAG <https://en.wikipedia.org/wiki/Directed_acyclic_graph>`__
2424
* - Docker

docs/source/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ requests
1010
sphinx-version-warning
1111
sphinx-last-updated-by-git
1212
sphinxcontrib-googleanalytics==0.4
13-
sphinxext-opengraph
13+
sphinxext-opengraph
14+
sphinxcontrib-youtube

0 commit comments

Comments
 (0)