Merged
Conversation
Replaces jax.tree_util.tree_map/flatten and jax.tree_map with the idiomatic jax.tree.map/flatten introduced in JAX 0.9.x. Also removes stale reference to jaxopt in pathfinder.md comment (replaced by optax.lbfgs in BlackJAX #817). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
blackjax.pathfinder(logdensity_fn) now returns a VIAlgorithm whose init/sample interface replaces the old approximate/sample interface. Update code and prose accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
sparse_regression.md: - Replace aesara/aeppl model definition with pure JAX log-density. aesara uses np.obj2sctype removed in NumPy 2.0 and the ecosystem is no longer maintained. - Fix deprecated pandas delim_whitespace=True -> sep=r"\s+" probabilistic_ode_solver_parameter_estimation.md: - Add jax.tree_map compatibility shim; probdiffeq 0.1.x uses the top-level jax.tree_map shorthand removed in JAX 0.9.0. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The 0.1.x API (solution_routines, solvers, implementations.recipes, strategies.filters) was completely replaced in 0.2+. New API uses ivpsolve / ivpsolvers / stats / taylor modules. Key changes: - solver built via prior_wiener_integrated + correction_ts0 + strategy_smoother - solve_fixed_grid / solve_adaptive_save_at replace old solution_routines - stats.log_marginal_likelihood_terminal_values replaces condition_on_qoi_observation + marginals.logpdf - ssm built once outside JIT; init_cond rebuilt per theta - plot_solution updated for sol.u list-of-coefficients layout - vmap solution_samples iterated by index (batched IVPSolution) - Drop probdiffeq<0.2.0 pin in requirements.txt Figure outputs verified within noise of MCMC stochasticity. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com