Releases: pymc-devs/pymc
Releases · pymc-devs/pymc
v5.6.0
What's Changed
Major Changes 🛠
- Rewrite logp graph before taking the gradient by @dehorsley in #6736
- Support automatic imputation for multivariate and symbolic distributions by @ricardoV94 in #6797
New Features 🎉
- Probabilty inference for arc transformations by @LukeLB in #6775
- Add icdf function for Cauchy and Logistic distributions by @amyoshino in #6747
- Add icdf functions for Lognormal, Half Cauchy and Half Normal distributions by @amyoshino in #6766
- Add icdf functions for Moyal, Gumbel, Triangular and Weibull distributions by @amyoshino in #6802
- Allow non-scalar measurable switch mixtures by @ricardoV94 in #6796
Bugfixes 🪲
- squeeze dim_0 dimensions for scalars away by @TimOliverMaier in #6764
- NotImplementedError for icdf of non-injective MeasurableTransforms by @ricardoV94 in #6793
Documentation 📖
- Logprob docs by @ricardoV94 in #6762
- Simplify Potential docstrings and examples by @ricardoV94 in #6772
- Fix broken link by @eeriksp in #6767
- speed-up doc building and fix several issues by @OriolAbril in #6781
Maintenance 🔧
- Removed **kwargs from sample_numpyro_nuts and sample_blackjax_nuts by @fonnesbeck in #6768
- Sponsor: add ODSC logo to README.rst by @reshamas in #6770
- Fix typos in PolyaGamma's docstring by @aleicazatti in #6672
- fixing links to images in the pymc_pytensor.ipynb notebook by @jaharvey8 in #6739
- Better coverage for float32 tests by @ferrine in #6780
- Allow creating
SymbolicRandomVariable
s insideCustomDist
by @ricardoV94 in #6805
New Contributors
- @jaharvey8 made their first contribution in #6739
- @eeriksp made their first contribution in #6767
Full Changelog: v5.5.0...v5.6.0
v5.5.0
What's Changed
Major Changes 🛠
- Rename basic "joint_logprob" functions to "conditional_logp" by @ricardoV94 in #6760
New Features 🎉
- Allow CustomDist with inferred logp in Mixture by @ricardoV94 in #6746
Bugfixes 🪲
- Fix bug in switch mixture logp by @ricardoV94 in #6765
Maintenance 🔧
- Version change in the docs installation command by @error9098x in #6752
- uncommented bambi lines by @GeoffNordling in #6749
- More informative error message for unused step sampler arguments by @jahall in #6738
New Contributors
- @error9098x made their first contribution in #6752
- @GeoffNordling made their first contribution in #6749
- @jahall made their first contribution in #6738
Full Changelog: v5.4.1...v5.5.0
v5.4.1
What's Changed
Bugfixes 🪲
- Fix minibatch bugs by @ricardoV94 in #6730
- Fix bug when compiling logp with
mode="FAST_COMPILE"
by @ricardoV94 in #6735 - Ignore named variables that are not traceable in
get_vars_in_point_list
by @ricardoV94 in #6741
Maintenance 🔧
- Fix small typing error in
sample
overload by @thomasaarholt in #6743
Full Changelog: v5.4.0...v5.4.1
v5.4.0
What's Changed
Major Changes 🛠
New Features 🎉
- Add logcdf implementation for Truncated distributions by @shreyas3156 in #6690
- Improve numerical precision of discrete uniform and geometric ICDFs by @gokuld in #6671
- Derive logprob for hyperbolic and error transformations by @LukeLB in #6664
- Add logprob inference for
not
operations by @shreyas3156 in #6689 - Added scale parameterization to Exponential by @manulpatel in #6677
- Speedup Slice sampler by @ricardoV94 in #6711
- Add Hurdle distributions by @tomicapretto in #6688
- Implement ICDF for Laplace and Pareto distributions by @james-2001 in #6707
- Support Scans in
CustomDist
by @ricardoV94 in #6696
Bugfixes 🪲
- Rename
_replace_rvs_in_graphs
and fix bug when replacing input by @ricardoV94 in #6720
Documentation 📖
- Update gaussian processes guide by @daniel-saunders-phil in #6693
- Add redirects from old v3 notebooks by @OriolAbril in #6719
Maintenance 🔧
- Type overloading for
return_inferencedata
insample
by @thomasaarholt in #6709 - Remove
joint_logprob
function fromtests.logprob.utils
by @shreyas3156 in #6650
New Contributors
- @manulpatel made their first contribution in #6692
- @tomicapretto made their first contribution in #6688
- @james-2001 made their first contribution in #6707
- @pdb5627 made their first contribution in #6712
Full Changelog: v5.3.1...v5.4.0
v5.3.1
What's Changed
New Features 🎉
- Derive logprob of
<
and>
operations by @shreyas3156 in #6662 - Derive logprob of
>=
and<=
operations by @shreyas3156 in #6680
Bugfixes 🪲
- Fix
WhiteNoise
Covariance bug by @dehorsley in #6674
Documentation 📖
Maintenance 🔧
CustomDist
andSimulator
no longer requireclass_name
when creating adist
by @ricardoV94 in #6668- Make metropolis elemwise updates independent of each other by @ricardoV94 in #6678
- Make logprob inference for binary ops independent of order of inputs by @shreyas3156 in #6682
- Rectify type-hints for
set_data
by @Dhruvanshu-Joshi in #6676
New Contributors
- @PlayingData made their first contribution in #6683
- @dehorsley made their first contribution in #6674
Full Changelog: v5.3.0...v5.3.1
v5.3.0
What's Changed
Major Changes 🛠
- Bump Pytensor dependency by @ricardoV94 in #6665
- Latex and string representation of variables now uses long Distribution names
x ~ N(0, 1) -> x ~ Normal(0, 1)
- Latex and string representation of variables now uses long Distribution names
New Features 🎉
- Implement
Model.debug()
helper by @ricardoV94 in #6634 - Added ICDF for the exponential distribution by @gokuld in #6641
- Issue warning if RVs are present in derived probability graphs by @ricardoV94 in #6651
Bugfixes 🪲
- Fix bug in random function of HalfStudent by @Dhruvanshu-Joshi in #6658
- Fix dtype casting bug in icdf function by @ricardoV94 in #6669
Documentation 📖
- Fix docstrings formatting and add
unnamed_distribution
to glossary by @alporter08 in #6638 - Add Gitpod video to contributing page by @reshamas in #6646
- Add timestamps to list of possible contributions by @reshamas in #6623
- Improve docstrings in GP module by @daniel-saunders-phil in #6652
- Arrange distributions and sub-contents alphabetically by @Dhruvanshu-Joshi in #6653
Maintenance 🔧
- Update links to sponsor images by @reshamas in #6643
- Add type hints to distribution parameters by @iykat in #6635
New Contributors
- @alporter08 made their first contribution in #6638
- @iykat made their first contribution in #6635
Full Changelog: v5.2.0...v5.3.0
v5.2.0
What's Changed
Major Changes 🛠
- Rename
logprob/joint_logp
tologprob/basic
and movelogcdf
andicdf
functions there by @ricardoV94 in #6599
New Features 🎉
- Add HSGP Latent GP approximation by @bwengals in #6458
- Allow logcdf and icdf inference by @ricardoV94 in #6597
- Implement icdf for the uniform distribution by @michaelraczycki in #6528
- Implement icdf for the discrete uniform distribution. by @gokuld in #6617
- Infer logprob of scans with carried auxiliary states by @ricardoV94 in #6582
- Infer logprob of
IfElse
graphs by @ricardoV94 in #6529 - Infer logprob of elemwise transformations of multivariate variables by @ricardoV94 in #6607
- Infer logprob of SpecifyShape and CheckandRaise by @Dhruvanshu-Joshi in #6538
Documentation 📖
- Add definition of B in documentation for
Beta
distribution by @JoKeyser in #6604 - Fix a typo in the docstring for
OrderedLogistic
by @NathanielF in #6611 - Improved docstring for predictions argument in
sample_posterior_predictive
by @fonnesbeck in #6616
Maintenance 🔧
- Renamed internal
at
aliases topt
by @shreyas3156 in #6577 - Remove
auto
argument frompm.Deterministic
docstring by @shreyas3156 in #6592 - Remove shape helper functions by @symeneses in #6556
- Give more readable error message when checking the starting values for MCMC by @Dhruvanshu-Joshi in #6632
- Improve
collect_default_updates
by @ricardoV94 in #6620 - Minor improvements to GitPod by @maresb in #6618
New Contributors
- @shreyas3156 made their first contribution in #6577
- @NathanielF made their first contribution in #6611
- @gokuld made their first contribution in #6617
Full Changelog: v5.1.2...v5.2.0
v5.1.2
What's Changed
New Features 🎉
- Allow passing dims to
Potential
andDeterministic
by @Raj-Parekh24 in #6576 - Add
nuts_sampler_kwargs
andnuts_kwargs
tosample
by @fonnesbeck in #6581 - Implement
check_icdf
helper to test icdf implementations by @ricardoV94 in #6583
Bugfixes 🪲
- Fix
warn_treedepth
looking at the wrong stat by @michaelosthege in #6591
Documentation 📖
Maintenance 🔧
- Add explicit support for Python 3.11 by @ricardoV94 in #6584
- Fix typos in
Potential
docstring by @chriswmann in #6575 - Fix typo in
ZeroInflatedNegBinomial
by @aleicazatti in #6585
New Contributors
- @Raj-Parekh24 made their first contribution in #6576
- @chriswmann made their first contribution in #6575
Full Changelog: v5.1.1...v5.1.2
v5.1.1
While this release carries a minor-version number increase, it is actually a major release (5.1). 5.1.0 was skipped due to a packaging issue.
What's Changed
Major Changes 🛠
- Access to external NUTS samplers (
nutpie
,blackjax
,numpyro
) with newsample()
kwarg callednuts_sampler
which often provide huge speed-ups and improved convergence by @twiecki and @ricardoV94 in #6422 - Enforce
dims
elements to be strings by @ricardoV94 in #6470 - Align DEMetropolis defaults with literature recommendations by @gbrunkhorst in #6488
- Tests are no longer part of the package by @Armavica in #6540
- Replace rvs_to_total_sizes mapping by MinibatchRandomVariables by @ricardoV94 in #6523
New Features 🎉
- Use separate argument in
CustomDist
for functions that return symbolic representations by @ricardoV94 in #6462 - Add nu parametrization to beta distribution by @alekracicot in #6344
- Preregister shapes of sampler stats by @michaelosthege in #6517
- Optional McBackend support by @michaelosthege in #6510
- Make VI (posterior) mean and std accessible as a structured xarray by @fonnesbeck in #6387
- Add mutable coords to Model by @Dhruvanshu-Joshi in #6515
- Allow Scan logprob inference of non-pure RandomVariable outputs by @ricardoV94 in #6578
- Public test utilities can now be found in
testing
module by @ricardoV94 in #6571
Bugfixes 🪲
- Fix bug in transformed scan variables by @ricardoV94 in #6573
Maintenance 🔧
- Fix some UserWarnings by @ricardoV94 in #6407
- Decouple convergence checking from
SamplerReport
by @michaelosthege in #6453 - Updated LICENSE to include AePPL license info by @fonnesbeck in #6474
- Fix typo in model comparison notebook by @Mikhail-Naumov in #6480
- Add devcontainer Docker image by @maresb in #6482
- Update GitPod base image to use pymc-built image by @maresb in #6483
- Register Op as subclass of Distributions with
rv_type
defined by @ricardoV94 in #6493 - Refactoring towards
IBaseTrace
interfaces by @michaelosthege in #6475 - Fix some type issues related to retrieving stats from traces by @michaelosthege in #6504
- Move pymc/distributions/logprob.py to pymc/logprob/ by @Armavica in #6441
- Update GLM_linear.ipynb by @bsenst in #6519
- Fix plot in HyperGeometric docstring by @aleicazatti in #6513
- Build docs in simplified environment by @michaelosthege in #6537
- BetaBinomial variance is not correctly described by @soma2000-lang in #6516
- Rename
zerosum_axes
ton_zerosum_axes
by @michaelraczycki in #6522 - issue #5791, dims & cords inference from xarray by @michaelraczycki in #6514
- Fix some code lints found with ruff by @Armavica in #6545
- Add check for variables in step samplers by @michaelraczycki in #6524
- Fix two typos in documentation by @JoKeyser in #6547
- Bump PyTensor dependency by @ricardoV94 in #6531
- Updated docstring for Potential function by @Dhruvanshu-Joshi in #6559
TruncatedNormal
only acceptsmu
andsigma
as non keyword arguments by @michaelraczycki in #6568- Exclude tests from package discovery by @Armavica in #6552
New Contributors
- @Mikhail-Naumov made their first contribution in #6480
- @gbrunkhorst made their first contribution in #6488
- @dependabot made their first contribution in #6490
- @bsenst made their first contribution in #6519
- @Dhruvanshu-Joshi made their first contribution in #6515
- @aleicazatti made their first contribution in #6513
- @michaelraczycki made their first contribution in #6522
- @JoKeyser made their first contribution in #6547
Full Changelog: v5.0.2...v5.1.1