Skip to content

Fix off by one - #3

Closed
nkbranigan wants to merge 22 commits into
mainfrom
fix_off_by_one
Closed

nkbranigan wants to merge 22 commits into
mainfrom
fix_off_by_one

Conversation

@nkbranigan

@nkbranigan nkbranigan commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner
  • Fixes [BUG] Incorrect summary statistics in LinearGaussianConjugateSSM.fit_blocked_gibbs probml/dynamax#416 and related off-by-one errors in indexing inputs and time-varying parameters
  • Fixes additional bugs revealed by the new tests:
    • Parallel posterior sampling omitted inputs in its backward pass
    • UKF indexed the wrong dimension when the dynamics covariance varied over time
    • HMM posterior sampling and fixed-lag smoothing used the wrong time-varying transition matrix
    • HMM inference mishandled single observations and input-dependent initialization

@nkbranigan
nkbranigan force-pushed the fix_off_by_one branch 7 times, most recently from 2cffa9c to 1e73f35 Compare October 3, 2026 03:02
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.

[BUG] Incorrect summary statistics in LinearGaussianConjugateSSM.fit_blocked_gibbs

1 participant