- API change: removed
DimensionalityException
- DimensionalityException replaced with -math.inf log probability in birth and death perturbations
- New feature:
Voronoi1D
Voronoi1D.compute_interface_positions()
added
- Enhancement:
Voronoi1D.compute_cell_extents
now deals with negative lower boundaries
- New feature: Nested parameter space (and discretization)
- Enhancement:
__repr__
in some classes
- New feature:
bayesbay.prior.LaplacePrior
- New feature:
bayesbay.LogLikelihood.__repr__
- New feature:
bayesbay.Target.__repr__
- New feature:
Voronoi2D
Voronoi2D.get_tessellation_statistics()
added
- API change:
Voronoi1D
- generalized all static methods:
- interpolate_tessellation
- _interpolate_tessellations
- get_tessellation_statistics
- plot_tessellation
- plot_tessellations
- plot_tessellation_statistics
- plot_tessellation_density
- generalized all static methods:
- New feature:
Voronoi2D
Voronoi2D.interpolate_tessellation()
addedVoronoi2D.polygon
added, allowing for prior probabilities defined within polygons
- API change:
bayesbay.samplers._samplers
- multiprocessing now carried out with
joblib
- multiprocessing now carried out with
- New feature:
Voronoi2D
added
- New feature:
pertubation_weights
- weights can be updated
BaseBayesianInversion.set_perturbation_funcs(funcs, weights)
BaseMarkovChain.set_perturbation_funcs(funcs, weights)
- weights can be assigned during initialization
BaseBayesianInversion(perturbation_weights, ...)
BaseMarkovChain(perturbation_weights, ...)
MarkovChain(perturbation_weights, ...)
- weights can be updated
- API change:
bayesbay.parameters
->bayesbay.prior
UniformParameter
->UniformPrior
GaussianParameter
->GaussianPrior
CustomParameter
->CustomPrior
- API change:
ParameterSpaceState
andState
cache
added toParameterSpaceState
save_to_cache
,load_from_cache
,saved_in_cache
added toParameterSpaceState
- By default, the
ParameterSpaceState.cache
is carried over when callingState.copy()
, i.e., it is copied to the new ParameterSpaceState
- API change:
bayesbay.discretization._voronoi
- All methods in
Voronoi1D
, except for static ones, have been moved toVoronoi
, which is now more general
- All methods in
- API change:
LogLikelihood
can accept log likelihood function or log likelihood ratio function - API change:
BayesianInversion
now takes in instance ofLogLikelihood
, instead of a list of targets and forward functions - New API:
LogLikelihood.add_targets()
method that allows more data to join the inversion - New API:
BayesianInversion.get_results_from_chains
- New API:
Parameter.sample
method - Enhancement:
__repr__
and__str__
for all classes - Fix: bug in nearest index when birth from neighbour
- Add pyx file to Manifest.in
- First release