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
{{ message }}
Repository navigation
Add how-to guide for API abstraction levels (NPE/NLE) #1757
The existing documentation does not explicitly frame abstraction levels as a concept. Functionality for customizing inference is currently scattered across:
docs/tutorials/00_getting_started.ipynb - Basic usage only
docs/how_to_guide/03_density_estimators.ipynb - Customization with posterior_nn()
docs/advanced_tutorials/18_training_interface.ipynb - Custom training loops
Missing: A unified guide showing the progression from simple to advanced API usage and when to use each level.
Hi! I’m currently contributing to sbi for GSoC 2026 and have been working on documentation improvements.
This looks like a really interesting and impactful addition. I’d love to contribute to it.
I was thinking of starting by drafting a basic structure for the guide (e.g., outlining the different abstraction levels and linking existing tutorials), and then iterating further.
Does that approach make sense, or would you recommend starting with a specific part?
Hi @Pratyusha-DS13! Thanks for your interest. However, there is already a PR open for this issue (see #1758). So there is no work currently needed on this part.
Hi @Pratyusha-DS13! Thanks for your interest. However, there is already a PR open for this issue (see #1758). So there is no work currently needed on this part.
Got it, thanks for letting me know!
I'll take a look at other open issues. Please let me know if there's anything similar where contributions would be helpful.
The guide exists: docs/how_to_guide/24_abstraction_levels.ipynb, added in
PR #1758 and live in the documentation since then. Closing as done. Sorry that
this stayed open for so long, two people offered to work on it while the guide
was already published.
Activity
Pratyusha-DS13 commentedon Mar 19, 2026
Hi! I’m currently contributing to sbi for GSoC 2026 and have been working on documentation improvements.
This looks like a really interesting and impactful addition. I’d love to contribute to it.
I was thinking of starting by drafting a basic structure for the guide (e.g., outlining the different abstraction levels and linking existing tutorials), and then iterating further.
Does that approach make sense, or would you recommend starting with a specific part?
Thanks!
dgedon commentedon Mar 19, 2026
Hi @Pratyusha-DS13! Thanks for your interest. However, there is already a PR open for this issue (see #1758). So there is no work currently needed on this part.
vamshi567bh commentedon Mar 20, 2026
@dgedon can I work on it
for idea 2 the preparation
janfb commentedon Mar 20, 2026
Hi @BharathC0 , thanks for offering your help here. Please read the comments above, the issue is already assigned and has an open PR.
Pratyusha-DS13 commentedon Mar 22, 2026
Got it, thanks for letting me know!
I'll take a look at other open issues. Please let me know if there's anything similar where contributions would be helpful.
janfb commentedon Aug 11, 2026
The guide exists:
docs/how_to_guide/24_abstraction_levels.ipynb, added inPR #1758 and live in the documentation since then. Closing as done. Sorry that
this stayed open for so long, two people offered to work on it while the guide
was already published.