Repository navigation
v2: decision boundaries of TablePrior tables in the README - #164
Merged
Merged
Conversation
examples/figures/decision_boundaries.py holds two numeric causes of a categorical column on a grid, other sources at their medians, and draws the class each cell gets most often over 25 data seeds, for eight table seeds. The README shows the figure under Random tables and databases.
Categorical sources are held at their most common level instead of an all-zeros median, levels are the union over draws, and the six largest classes get colours with the rest grey. matplotlib joins the pixi environment as a PyPI dependency (numpy unchanged), recipes draw one table in quick mode, and the package job installs matplotlib for it. README wording and runtimes corrected.
The figure script runs under threadpool_limits(1), which brings the default run back to about a minute on one core; the committed PNG is unchanged. run_recipes and the CI package job say that figures run in quick mode and need matplotlib.
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
examples/figures/decision_boundaries.pydraws the decision boundaries of tables fromTablePrior:examples/README.mdlists the newfigures/folder and the command to run it.The eight tables (seeds 45, 102, 225, 115, 47, 87, 123, 262) cover curved boundaries, repeating cells and axis-aligned boxes.
Checks
pixi run recipesnow also runsexamples/figures. WithPLUREL_QUICK=1it draws one table on the coarse grid in about 2 s. The CI package job installs matplotlib for it.threadpool_limits(1). The default run takes about a minute on one core (64 s on an Apple M4), and with the pixi environment it reproduces the committed PNG byte for byte.pixi run lint,pixi run examplesandpixi run recipespass.🤖 Generated with Claude Code