Repository navigation
Add plate-notation figures to chapter 3 tutorials 2 and 4 - #51
Merged
Merged
Conversation
…AutoFit#1616) Snapshot taken at laptop shutdown; not tested/shipped. Resume from the active.md row of model-figures-graphical in PyAutoMind. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0178yLU9v19GtACcRPFggjGa
…1616) Draw the shared graphical model (tutorial 2) and the hierarchical model (tutorial 4) with `af.ModelPlotter`, with prose checked against the figures the tutorials actually produce. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmyBwcVQBrWE4jSTqdATY6
This was referenced Sep 12, 2026
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
Adds plate-notation model figures to the chapter 3 graphical-models tutorials, turning the
shared-vs-hierarchical distinction into a pair of pictures the reader can compare: tutorial 2 draws the
shared
centrehoisted out of the dataset plate, tutorial 4 draws the samecentrestaying inside theplate as a
drawnpill fed by a violet arrow from theHierarchicalFactorcard.Scripts Changed
scripts/chapter_3_graphical_models/tutorial_2_graphical_model.py— draws the factor graph withaf.ModelPlotter, with prose on reading the plate, the hoisted shared card and the observed-data pillscripts/chapter_3_graphical_models/tutorial_4_hierachical_models.py— draws the hierarchical model and contrasts it with tutorial 2's figure (no shared badge; the arrow is the weaker claim), including the hyper vs per-dataset footer splitnotebooks/chapter_3_graphical_models/tutorial_2_graphical_model.ipynb,notebooks/chapter_3_graphical_models/tutorial_4_hierachical_models.ipynb— regenerated from the scriptsUpstream PR
PyAutoLabs/PyAutoFit#1617
Test Plan
Merge gate: blocked behind the upstream PyAutoFit PR — the figure API is unreleased, so the library
PR must be merged (and released) first.
Opened under Heart RED (release validation FAILED, stage integrate — unrelated autolens scripts) with explicit human authorisation on 2026-09-12; merge stays human via /prm.
Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code
https://claude.ai/code/session_01AmyBwcVQBrWE4jSTqdATY6