You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING
+24-1Lines changed: 24 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
Contributing to BayesFlow
2
-
==========
2
+
=========================
3
3
4
4
Workflow
5
5
--------
@@ -65,3 +65,26 @@ You can run the all tests locally via:
65
65
Or a specific test via:
66
66
67
67
pytest -e test_[mytest]
68
+
69
+
Tutorial Notebooks
70
+
------------------
71
+
72
+
New tutorial notebooks are always welcome! You can add your tutorial notebook file to `examples/` and add a reference
73
+
to the list of notebooks in `docsrc/source/examples.rst`.
74
+
Re-build the documentation (see below) and your notebook will be included.
75
+
76
+
Documentation
77
+
-------------
78
+
79
+
The documentation uses [sphinx](https://www.sphinx-doc.org/) and relies on [numpy style docstrings](https://numpydoc.readthedocs.io/en/latest/format.html) in classes and functions.
80
+
The overall *structure* of the documentation is manually designed. This also applies to the API documentation. This has two implications for you:
81
+
82
+
1. If you add to existing submodules, the documentation will update automatically (given that you use proper numpy docstrings).
83
+
2. If you add a new submodule or subpackage, you need to add a file to `docsrc/source/api` and a reference to the new module to the appropriate section of `docsrc/source/api/bayesflow.rst`.
84
+
85
+
You can re-build the documentation with
86
+
87
+
cd docsrc/
88
+
make clean && make github
89
+
90
+
The entry point of the rendered documentation will be at `docs/index.html`.
For the vast majority of simulated data sets, the "true" data-generating model is correctly identified. With these diagnostic results backing us up, we can proceed and apply our trained network to empirical data.
249
249
250
-
BayesFlow is also able to conduct model comparison for hierarchical models. See this [tutorial notebook](docs/source/tutorial_notebooks/Hierarchical_Model_Comparison_MPT.ipynb) for an introduction to the associated workflow.
250
+
BayesFlow is also able to conduct model comparison for hierarchical models. See this [tutorial notebook](examples/Hierarchical_Model_Comparison_MPT.ipynb) for an introduction to the associated workflow.
0 commit comments