Skip to content

Fix Deep GP notebook smoke: write_figure and MNIST ARFF parser - #7

Merged
lawrennd merged 1 commit into
gh-pagesfrom
fix/deepgp-write-figure-mnist
Oct 25, 2026
Merged

lawrennd merged 1 commit into
gh-pagesfrom
fix/deepgp-write-figure-mnist

Conversation

@lawrennd

Copy link
Copy Markdown
Contributor

Summary

  • Deep GP I: drop usetex=True on the PGM cells and save the Markov diagrams with mlai.write_figure, so weekly smoke no longer needs system latex.
  • Deep GP II: fetch MNIST with as_frame=False, parser='liac-arff' and subsample with NumPy, avoiding the pandas 3 TypeError in sklearn's default OpenML ARFF parser.
  • Lecture HTML for 12 is updated to match. Lecture 11 notes HTML does not embed those PGM cells.

Source of truth is lawrennd/snippets#64. This is the generated-file stopgap until a LaMD rebuild, matching PR #6.

Test plan

  • Weekly notebook smoke: 11-deep-gps-I and 12-deep-gps-II
  • Confirm lecture 11 no longer requires texlive
  • Confirm lecture 12 fetch_openml no longer TypeErrors (full MNIST download is still slow)

Lecture 11 smoke was failing without system latex because the PGM
cells set usetex=True. Lecture 12 hits a pandas 3 TypeError in
sklearn's default OpenML ARFF parser. Matches snippets PR 64.
@lawrennd
lawrennd merged commit f07ffb7 into gh-pages Oct 25, 2026
1 check passed
@lawrennd
lawrennd deleted the fix/deepgp-write-figure-mnist branch October 26, 2026 06:13
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