Skip to content

Add flowmodel features #216

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

Merged
merged 13 commits into from
Sep 4, 2022
Merged

Add flowmodel features #216

merged 13 commits into from
Sep 4, 2022

Conversation

mj-will
Copy link
Owner

@mj-will mj-will commented Sep 2, 2022

Add various features that will be used in the importance nested sampler.

This also changes some existing features.

New features

  • Option to train with weights
  • Add a method that validates the batch size to avoid issues with batch norm
  • Add calls to the new flow methods end_iteration and finalise
  • Allow training without validation data
  • Add log_prob and sample methods

Changes to existing features

  • noise_scale can now only be specified as a float, the user must specify noise_type to use an adaptive scale.

@mj-will mj-will added enhancement New feature or request ins Changes related to the importance ensted sampler labels Sep 2, 2022
@mj-will mj-will added this to the 0.7.0 milestone Sep 2, 2022
@mj-will mj-will force-pushed the add-flowmodel-features branch from 38e413f to ae0649e Compare September 4, 2022 10:37
@codecov-commenter
Copy link

codecov-commenter commented Sep 4, 2022

Codecov Report

Merging #216 (c554491) into main (69695c3) will not change coverage.
The diff coverage is n/a.

❗ Current head c554491 differs from pull request most recent head 6b53b5c. Consider uploading reports for the commit 6b53b5c to get more accurate results

@@           Coverage Diff           @@
##             main     #216   +/-   ##
=======================================
  Coverage   98.67%   98.67%           
=======================================
  Files          51       51           
  Lines        4085     4085           
=======================================
  Hits         4031     4031           
  Misses         54       54           
Flag Coverage Δ
unittests 98.67% <0.00%> (ø)

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

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mj-will mj-will force-pushed the add-flowmodel-features branch from ae0649e to 6b53b5c Compare September 4, 2022 11:54
@mj-will mj-will merged commit b923205 into main Sep 4, 2022
@mj-will mj-will deleted the add-flowmodel-features branch September 4, 2022 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ins Changes related to the importance ensted sampler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants