-
Notifications
You must be signed in to change notification settings - Fork 403
refactor(bass): migrate dim handling to pymc.dims #2771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
anevolbap
wants to merge
58
commits into
pymc-labs:main
Choose a base branch
from
anevolbap:feat/2598-bass-pmd-dims
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 39 commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
2ce0db0
fix(bass): restore Prior objects when loading a saved model
anevolbap 95d1de7
fix(bass): keep product dimension when forecasting without observed data
anevolbap 3475f4d
docs(bass): update notebook to the BassModel workflow
anevolbap 2783236
docs(bass): address notebook review
anevolbap 530aa9f
docs(bass): address notebook review
anevolbap 5f9552b
fix(bass): derive forecast shape from dims and keep T leading
anevolbap f966803
docs(bass): parameter-recovery check and review follow-ups
anevolbap ee90470
refactor(bass): migrate dim handling to pymc.dims
anevolbap 3f639e1
refactor(bass): address review on the pymc.dims migration
anevolbap ec47c69
Merge branch 'main' into feat/2598-bass-pmd-dims
williambdean a835470
fix(bass): restore Prior objects when loading a saved model
anevolbap 6629493
fix(bass): keep product dimension when forecasting without observed data
anevolbap 767db95
docs(bass): update notebook to the BassModel workflow
anevolbap 460eb5c
docs(bass): address notebook review
anevolbap 992eef3
docs(bass): address notebook review
anevolbap 86c3b27
fix(bass): derive forecast shape from dims and keep T leading
anevolbap 03c5129
docs(bass): parameter-recovery check and review follow-ups
anevolbap 01f0ee8
chore(deps): bump pymc floor to 6.0.1
anevolbap eb36008
fix(bass): satisfiable test prior and transpose without a T coord
anevolbap 0006e47
Merge remote-tracking branch 'upstream/main' into rebase/2590-notebook
anevolbap 921def6
Merge remote-tracking branch 'upstream/main' into rebase/2598-pmd
anevolbap 439abc2
docs(bass): plot_dist for the p/q recovery plots
anevolbap b21f253
Merge notebook branch (#2770 review fixes) into the pymc.dims branch
anevolbap d18953e
Merge branch 'main' into feat/2598-bass-pmd-dims
juanitorduz 58b23eb
chore(bass): drop the accidental data.py change (merge artifact)
anevolbap 3be28d5
Merge remote-tracking branch 'upstream/main' into sync/2598-pmd-dims
anevolbap a5eb3ae
Merge remote-tracking branch 'upstream/main' into sync/2598-pmd-dims
anevolbap 2753c23
fix(bass): close the regressions in the pymc.dims migration
anevolbap 39e943f
docs(bass): drop the review-defence line from _create_dim_variable
anevolbap 6fb94b3
docs: link XTensorVariable in numpydoc type xrefs
anevolbap 9b1f9c8
Merge branch 'main' into feat/2598-bass-pmd-dims
anevolbap 4d3c971
fix(bass): address review on the pymc.dims fallbacks and dim order
anevolbap 21a8ff6
docs(bass): link the upstream issue for the observed=None xdist branch
anevolbap da2b538
Merge branch 'main' into feat/2598-bass-pmd-dims
anevolbap 4b1d11a
docs(bass): name the real gate for dropping the observed=None branch
anevolbap 7552d90
refactor(bass): build the unobserved outcome node without create_like…
anevolbap c6e43e8
Merge branch 'main' into feat/2598-bass-pmd-dims
anevolbap b7e1bd8
Merge branch 'main' into feat/2598-bass-pmd-dims
anevolbap 74445ed
Merge branch 'main' into feat/2598-bass-pmd-dims
anevolbap 1bc024c
docs(bass): document positional labelling and the xdist signature check
anevolbap 9f7af31
Merge remote-tracking branch 'upstream/main' into sync/2598-pmd-dims
anevolbap f79c607
Merge branch 'main' into feat/2598-bass-pmd-dims
anevolbap 327e44e
fix(bass): mirror the likelihood guards on the unobserved path
anevolbap 4f2e799
Merge remote-tracking branch 'origin/feat/2598-bass-pmd-dims' into sy…
anevolbap 4e57c17
fix(bass): check nested priors for xdist support and validate observe…
anevolbap 7e1d173
Merge branch 'main' into feat/2598-bass-pmd-dims
anevolbap c5f24ad
refactor(bass): dedupe dim validation and test priors, fix docstring …
anevolbap f311ebd
chore(mlflow): drop stale provenance comment in _get_random_variable_…
anevolbap 2d98fb3
Merge branch 'main' into feat/2598-bass-pmd-dims
anevolbap fb0fe15
fix(bass): do not mutate the caller's likelihood prior
anevolbap 42039a8
refactor(bass): lean model block, drop the xdist fallbacks
anevolbap f77ec57
Merge branch 'main' into feat/2598-bass-pmd-dims
anevolbap cbaed2f
refactor(bass): drop _exp, F and f take xtensor
anevolbap 39d4365
fix(bass): F and f accept float p and q
anevolbap b6e2d1f
docs(bass): plotting facets the plotted variable, not the data
anevolbap ad20905
Merge branch 'main' into feat/2598-bass-pmd-dims
juanitorduz eb0e2c4
fix(bass): borrow likelihood dims and match observed by identity
anevolbap 18a2e78
feat(bass): point F and f at as_xtensor when t is unlabelled
anevolbap File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the
# Taken from new version of pymc/model_graph.pyline here: it dated to a900f97 (2024) and pymc'srandom_variable_symbolhas since diverged (it now prefersop.namewith a class-name fallback, and has nocore_opunwrap), so the reference no longer described this helper. Thecore_opline is local to this PR.