What's Changed
Major Changes 🛠
- Removed support for selectively tracking variables via
pm.sample(trace=[...])
. by @michaelosthege in #6269 - Do not rely on tag information for rv and logp conversions by @ricardoV94 in #6281. This includes:
- Deprecated accessing any of
[value_variable|observations|transform|total_size]
viavar.tag
in favor ofmodel.rvs_to_[values|transforms|total_sizes]
- Deprecated
joint_logp
in favor ofmodel.logp
- Deprecated
aesaraf.rvs_to_value_vars
in favor ofmodel.replace_rvs_by_values
- Deprecated accessing any of
- Using keyword
seed
for initial point no longer supported by @wd60622 in #6291 - Sampling of transformed variables from prior_predictive is no longer allowed by @ricardoV94 in #6309
- Require all step methods to return stats by @michaelosthege in #6313. This includes
- Require all step methods to return stats from their
step/astep
method. - The
BlockedStep.generates_stats
attribute was removed.
- Require all step methods to return stats from their
New Features & Bugfixes 🎉
- Fix shared variable latex by @ricardoV94 in #6260
- Fix bug when replacing random variables with nested value transforms by @ricardoV94 in #6281
- Do not infer
graph_model
node types based on variable Op class by @ricardoV94 in #6259 - Do not propagate dims to observed component of imputed variable by @ricardoV94 in #6263
- Fix Categorical and Multinomial bugs by @ricardoV94 in #6265
- Sample stats for blackjax nuts by @TimOliverMaier in #6264
- Add warning if observed in DensityDist is dict by @symeneses in #6292
- Fix versioneer config to match version tags by @michaelosthege in #6314
Docs & Maintenance 🔧
- Split
sampling.py
intosampling.py
andsampling_forward.py
by @michaelosthege in #6257 - Improve
join_nonshared_inputs
documentation by @wd60622 in #6216 - Move sampling code to a submodule by @michaelosthege in #6268
- Fixed a typo in the overview notebook by @grtyvr in #6274
- Check that sampler vars correspond to value variables in the model by @ricardoV94 in #6235
- Updated pymc.DiscreteWeibull docstring by @hyosubkim in #6283
- Improve random seed processing for SMC sampling by @juanitorduz in #6298
- Remove wrong type-hints and stale docstrings from distributions by @ricardoV94 in #6280
- update theme by @OriolAbril in #6296
- Fix some typos and lints by @Armavica in #6300
- Update docstrings for sample_smc and smc.py by @rowangayleschaefer in #6114
- Fix Flaky Euler-Maruyama Tests by @wd60622 in #6287
New Contributors
- @grtyvr made their first contribution in #6274
- @hyosubkim made their first contribution in #6283
Full Changelog: v4.3.0...v4.4.0