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

Tweak logit #105

Merged
merged 3 commits into from
Aug 23, 2021
Merged

Tweak logit #105

merged 3 commits into from
Aug 23, 2021

Conversation

mj-will
Copy link
Owner

@mj-will mj-will commented Aug 23, 2021

This PR tweaks the logit and sigmoid rescaling functions to fix a bug and change the default fuzz.

Fixes

The log-Jacobian did not previously include the constant for the fuzz factor rescaling, this has been fixed.

Changes

Change the default to fuzz=1e-12

@mj-will mj-will added bug Something isn't working enhancement New feature or request labels Aug 23, 2021
@mj-will mj-will added this to the v0.3.1 milestone Aug 23, 2021
@mj-will mj-will self-assigned this Aug 23, 2021
@codecov-commenter
Copy link

codecov-commenter commented Aug 23, 2021

Codecov Report

Merging #105 (d5bb663) into main (66f84e4) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   94.40%   94.41%           
=======================================
  Files          39       39           
  Lines        3541     3546    +5     
=======================================
+ Hits         3343     3348    +5     
  Misses        198      198           
Flag Coverage Δ
unittests 94.41% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
nessai/utils/rescaling.py 100.00% <100.00%> (ø)

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 66f84e4...d5bb663. Read the comment docs.

@mj-will mj-will merged commit 85656e5 into main Aug 23, 2021
@mj-will mj-will deleted the tweak-logit branch August 23, 2021 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants