pints
pints copied to clipboard
MultiNest
Created MultiNest sampler and simplified ellipsoidal nested sampling by creating an Ellipsoid class shared by both samplers. Things done:
- Created Ellipsoid class used by both methods
- Added MultiNest which uses a EllipsoidTree class to form a binary tree of ellipsoid leaves which cover the sampling domain
- Corrected some parts of ellipsoidal sampling which meant that ellipsoidal updating wasn't being triggered
- Changed name of sampler -> controller in rejection sampling notebook to avoid ambiguity
- Made a notebook that plots lots of pretty pictures of the ellipsoids produced within MultiNest and shows how the approach works really quite well for the tricky Goodwin Oscillator model
Codecov Report
Merging #1319 (9d949dc) into master (9052e5d) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #1319 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 87 88 +1
Lines 8933 9190 +257
==========================================
+ Hits 8933 9190 +257
Impacted Files | Coverage Δ | |
---|---|---|
pints/_log_priors.py | 100.00% <ø> (ø) |
|
pints/_nested/_rejection.py | 100.00% <ø> (ø) |
|
pints/__init__.py | 100.00% <100.00%> (ø) |
|
pints/_nested/__init__.py | 100.00% <100.00%> (ø) |
|
pints/_nested/_ellipsoid.py | 100.00% <100.00%> (ø) |
|
pints/_nested/_multinest.py | 100.00% <100.00%> (ø) |
|
pints/_mcmc/_mala.py | 100.00% <0.00%> (ø) |
|
pints/_mcmc/_nuts.py | 100.00% <0.00%> (ø) |
|
pints/_mcmc/_dream.py | 100.00% <0.00%> (ø) |
|
pints/_mcmc/__init__.py | 100.00% <0.00%> (ø) |
|
... and 12 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 9052e5d...9d949dc. Read the comment docs.