Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multinest #1034

Closed
wants to merge 55 commits into from
Closed

Multinest #1034

wants to merge 55 commits into from

Conversation

ben18785
Copy link
Collaborator

@ben18785 ben18785 commented Feb 12, 2020

Fixes #282.

@codecov
Copy link

codecov bot commented Feb 18, 2020

Codecov Report

Merging #1034 (c3fad40) into master (9052e5d) will decrease coverage by 3.39%.
The diff coverage is 18.15%.

Impacted file tree graph

@@             Coverage Diff             @@
##            master    #1034      +/-   ##
===========================================
- Coverage   100.00%   96.60%   -3.40%     
===========================================
  Files           87       65      -22     
  Lines         8933     7047    -1886     
===========================================
- Hits          8933     6808    -2125     
- Misses           0      239     +239     
Impacted Files Coverage Δ
pints/_nested/_ellipsoid.py 100.00% <ø> (ø)
pints/_nested/_rejection.py 100.00% <ø> (ø)
pints/_nested/_multinest.py 16.84% <16.84%> (ø)
pints/_nested/__init__.py 99.39% <71.42%> (-0.61%) ⬇️
pints/io.py 100.00% <0.00%> (ø)
pints/_core.py 100.00% <0.00%> (ø)
pints/_util.py 100.00% <0.00%> (ø)
pints/noise.py 100.00% <0.00%> (ø)
pints/_logger.py 100.00% <0.00%> (ø)
pints/_log_pdfs.py 100.00% <0.00%> (ø)
... and 82 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...cdfba3f. Read the comment docs.

@ben18785
Copy link
Collaborator Author

ben18785 commented Mar 9, 2021

Note to self:

  • include error handling for singular covariance matrix
  • clean up notebook and add ODE example(s)
  • look into dynamic enlargement factor as per ellipsoidal. Leave this out of this PR as it's an extension of the method really
  • clean up multinest function
  • add getter for underlying ellipsoid tree in multinest
  • correct algorithmic pseudocode to better reflect function (needs correcting again after new changes)
  • check enlargement factor hyperparameter use in old version
  • make ellipsoid update gap used
  • check number of hyperparameters: it said 6 but I can only find 3. I've settled on 4.

- added getter for ellipsoidtree
- corrected pseudocode to be more representative of actual approach
- added enlargement factor capacity
- made ellipsoid gap used
- corrected hyperparameters
- also added max number of tries for while loop for kmeans

addresses #282
- Error handling for singular matrix issue when forming bounding ellipse
- Added back in recursion as it was used in the Matlab implementation we were following
- Cleaned up the notebook and removed the logistic example as Goodwin is better
- Improved docstrings for algo pseudocode

Addresses #282
@ben18785 ben18785 marked this pull request as ready for review March 13, 2021 13:30
@ben18785 ben18785 closed this Mar 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Recreate Multinest in Pints
2 participants