Skip to content

Commit 15e3fc5

Browse files
committed
Merge branch 'main' into dev
2 parents f418d65 + 6040caf commit 15e3fc5

File tree

20 files changed

+203
-63
lines changed

20 files changed

+203
-63
lines changed

.github/workflows/multiversion-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: |
5656
cd ./gh-pages-dev
5757
git rm --quiet -rf .
58-
cp -R ../repo/docs/* ./
58+
cp -r ../repo/docs/. ./
5959
git config --local user.email ""
6060
git config --local user.name "github-actions"
6161
git add -A

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fueled by continuous progress in generative AI and Bayesian inference.
2020
<picture>
2121
<source media="(prefers-color-scheme: dark)" srcset="./img/bayesflow_landing_dark.jpg">
2222
<source media="(prefers-color-scheme: light)" srcset="./img/bayesflow_landing_light.jpg">
23-
<img alt="dsd" src="./img/bayesflow_landing_dark.jpg">
23+
<img alt="Overview graphic on using BayesFlow. It is split in three columns: 1. Choose your backend: BayesFlow is based on Keras, so you can choose PyTorch, TensorFlow or JAX. 2. Define your simulator: You specify your simulator in Python, and use it to generate simulated data. 3. Choose your algorithm: You define a generative neural network that you can use for estimation after training." src="./img/bayesflow_landing_dark.jpg">
2424
</picture>
2525
</div>
2626

bayesflow/adapters/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
"""
2+
A collection of :py:class:`~bayesflow.adapters.Adapter` transforms, which tell BayesFlow how to interpret your
3+
:py:class:`~bayesflow.simulators.Simulator` output and plug it into neural networks for training and inference.
4+
"""
5+
16
from . import transforms
27
from .adapter import Adapter
38

bayesflow/approximators/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
"""
2+
A collection of :py:class:`~bayesflow.approximators.Approximator`\ s, which embody the inference task and the
3+
neural network components used to perform it.
4+
"""
5+
16
from .approximator import Approximator
27
from .continuous_approximator import ContinuousApproximator
38
from .point_approximator import PointApproximator

bayesflow/datasets/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
A collection of `keras.utils.PyDataset <https://keras.io/api/utils/python_utils/#pydataset-class>`__\ s, which
3+
wrap your data-generating process (i.e., your :py:class:`~bayesflow.simulators.Simulator`) and thus determine the
4+
effective training strategy (e.g., online or offline).
5+
"""
6+
17
from .offline_dataset import OfflineDataset
28
from .online_dataset import OnlineDataset
39
from .disk_dataset import DiskDataset

bayesflow/diagnostics/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
A collection of plotting utilities and metrics for evaluating trained :py:class:`~bayesflow.workflows.Workflow`\ s.
3+
"""
4+
15
from .metrics import root_mean_squared_error, calibration_error, posterior_contraction
26

37
from .plots import (

bayesflow/distributions/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
A collection of :py:class:`~bayesflow.distributions.Distribution`\ s,
3+
which represent the latent space for :py:class:`~bayesflow.networks.InferenceNetwork`\ s
4+
or the summary space of :py:class:`~bayesflow.networks.SummaryNetwork`\ s.
5+
"""
6+
17
from .distribution import Distribution
28
from .diagonal_normal import DiagonalNormal
39
from .diagonal_student_t import DiagonalStudentT

bayesflow/experimental/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Unstable or largely untested networks, proceed with caution.
3+
"""
4+
15
from .cif import CIF
26
from .continuous_time_consistency_model import ContinuousTimeConsistencyModel
37
from .free_form_flow import FreeFormFlow

bayesflow/metrics/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
"""
2+
A collection of `keras.Metric <https://keras.io/api/metrics/base_metric/#metric-class>`__\ s for evaluating the
3+
performance of models.
4+
"""
5+
16
from . import functional
27
from .maximum_mean_discrepancy import MaximumMeanDiscrepancy
38
from .root_mean_squard_error import RootMeanSquaredError

bayesflow/networks/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
A rich collection of neural network architectures for use in :py:class:`~bayesflow.approximators.Approximator`\ s.
3+
"""
4+
15
from .consistency_models import ConsistencyModel
26
from .coupling_flow import CouplingFlow
37
from .deep_set import DeepSet

0 commit comments

Comments
 (0)