fix: LaTeX rendering, Exercise C worked example, Python 3.11+ requirements, Sphinx docs#4
Merged
Conversation
Agent-Logs-Url: https://github.com/MacroMagic/bayesian_feature_selection/sessions/15295d6c-e511-495d-9ccd-09e3782ac14f Co-authored-by: MacroMagic <162652138+MacroMagic@users.noreply.github.com>
Agent-Logs-Url: https://github.com/MacroMagic/bayesian_feature_selection/sessions/15295d6c-e511-495d-9ccd-09e3782ac14f Co-authored-by: MacroMagic <162652138+MacroMagic@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
MacroMagic
April 19, 2026 14:14
View session
MacroMagic
approved these changes
Apr 19, 2026
MacroMagic
marked this pull request as ready for review
April 19, 2026 14:21
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
Addresses all four items from the problem statement.
Changes
1 — Fix LaTeX rendering in notebook section "1) Mathematical intuition"
\(...\)/\[...\]LaTeX delimiters (cells 1 and 9) have been converted to the universally-supported$...$/$$...$$notation. Both classic Jupyter Notebook and JupyterLab render these via MathJax without additional configuration.2 — Worked example for Exercise C (correlated predictors)
7c) immediately after the Exercise A sweep:HorseshoeGLMwith MCMC, then comparesmethod='beta','lambda', and'both'side-by-side (precision / recall / F1 table + bar-chart of inclusion probabilities). Ends with a plain-language discussion of why posterior mass spreads and when alternative priors may be preferable.3 — Remove Python < 3.11 support
pyproject.toml: Addedrequires-python = ">=3.11"and removed 3.9/3.10 classifiers.tox.ini: Updatedenvlisttopy311, py312and updated the[travis]mapping..travis.yml: Updated test matrix to3.11and3.12; updated the deploymentpythonkey to3.11.4 — Fix Sphinx doc build errors
docs/conf.py: Addedsys.modulespre-mocking of heavy C-extension dependencies (JAX, NumPyro, ArviZ, scikit-learn, etc.) usingunittest.mock.MagicMockso thatbayesian_feature_selectioncan be imported without those packages being installed. Also addedautodoc_mock_importsfor the same list so thatsphinx.ext.autodocresolves type annotations correctly. The Sphinx build now completes successfully (build succeeded, 0 warnings, 0 errors).