Skip to content

Networks docstrings: add summary/inference network indicator #462

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

vpratz
Copy link
Collaborator

@vpratz vpratz commented May 7, 2025

From the table in the bayesflow.networks module overview, one cannot tell whether a network is a summary network, an inference network, or neither. This PR adds short labels to indicate inference networks (IN) and summary networks (SN), so one can easily identify them.

The information is redundant, as the classes are also subclasses of InferenceNetwork/SummaryNetwork, but until now, this information isn't easily accessible to end users (you have to click on the class first to see the "Bases: ..." label). This is one possible fix. Do you like it this way or do you have different ideas on how to fix this?

- From the table in the `bayesflow.networks` module overview, one cannot
  tell which network belongs to which group. This commit adds short
  labels to indicate inference networks (IN) and summary networks (SN)
@vpratz vpratz requested review from stefanradev93 and LarsKue May 7, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant