Add prerequisite installation instructions to all examples#14
Open
williamjameshandley wants to merge 3 commits into
Open
Add prerequisite installation instructions to all examples#14williamjameshandley wants to merge 3 commits into
williamjameshandley wants to merge 3 commits into
Conversation
Adds executable !pip install cells at the start of all example notebooks with the required dependencies: - git+https://github.com/handley-lab/blackjax (main dependency) - Example-specific packages (torch, tensorflow, scipy, etc.) - Common utilities (numpy, tqdm, anesthetic, matplotlib where needed) Addresses issue #13 by ensuring users can easily install all dependencies before running any example. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Reordered cells so Prerequisites markdown headers appear before install cells, not after. Correct order is now: 1. Title/header markdown 2. Prerequisites markdown 3. Install cell 4. Rest of content
yallup
requested changes
Oct 20, 2025
yallup
left a comment
Collaborator
There was a problem hiding this comment.
Hard to give inline comments on ipynbs, good idea but some things missing:
- integration examples are missing or have malformed prerequisites
- One may be able to phrase the MD structure better, particularly in terms of how the sidebar toc picks things up, e.g. on the SBI example we have ## Prerequisites that then covers all the subsequent code that really should be under ## NSPosterior implementation. Prerequisites should be a lower indent level and the content should still be under the correct header.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
!pip installcells to all 18 example notebooksFixes #13
Changes
!pip installcommandsTest plan
🤖 Generated with Claude Code