Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-07-29 | 2.6 kB | |
v4.0.0 source code.tar.gz | 2025-07-29 | 223.7 kB | |
v4.0.0 source code.zip | 2025-07-29 | 331.1 kB | |
Totals: 3 Items | 557.4 kB | 1 |
BAT v4.0.0
Breaking changes
Several algorithms have changed their names, but also their role:
-
MCMCSampling
has becomeTransformedMCMC
. -
MetropolisHastings
has becomeRandomWalk
. It's parameters have changed (no deprecation for the parameter changes). Tuning and sample weighting scheme selection have moved toTransformedMCMC
. -
PriorToGaussian
has becomePriorToNormal
.
Partial deprecations are available for the above, so old code should run more or less unchanged (with deprecation warnings). Also:
-
AdaptiveMHTuning
has becomeAdaptiveAffineTuning
, but is now used as a parameter forTransformedMCMC
(formerlyMCMCSampling
) instead ofRandomWalk
(formerlyMetropolisHastings
). -
MCMCNoOpTuning
has becomeNoMCMCTransformTuning
. -
The arguments of
HamiltonianMC
have changed. -
MCMCTuningAlgorithm
has been replaced byMCMCTransformTuning
. -
The
trafo
parameter of algorithms has been renamed topretransform
, thetrafo
field in algorithm results has been renamed tof_pretransform
. -
bat_report
has been deprecated in favor ofLazyReports.lazyreport
(drop-in compatible).
New features
-
Sampling, integration and mode-finding algorithms now generate a return value
result = ..., evaluated::EvaluatedMeasure = ..., ...)
if their target is a probability measure/distribution. -
The new
RAMTuning
is now the default (transform) tuning algorithm forRandomWalk
(formerlyMetropolisHastings
). It typically results in a much faster burn-in process thanAdaptiveAffineTuning
(formerlyAdaptiveMHTuning
, the previous default). -
MCMC Sampling handles parameter scale and correlation adaptivity via via tunable space transformations instead of tuning covariance matrices in proposal distributions.
-
MCMC tuning has been split into proposal tuning (algorithms of type
MCMCProposalTuning
) and transform turning (algorithms of typeMCMCTransformTuning
). Proposal tuning has now a much more limited role and often may beNoMCMCProposalTuning()
(e.g. forRandomWalk
). -
Added
MGVISampling
for Metric Gaussian Variational Inference.
Merged pull requests: - Add PolarShellDistribution (#475) (@oschulz) - CompatHelper: bump compat for AdvancedHMC in [weakdeps] to 0.8, (keep existing compat) (#480) (@github-actions[bot]) - Advanced HMC compat bump compatibility check (#481) (@Micki-D) - Improve dist transport implementation, support AffineDistribution (#482) (@oschulz)