-
Notifications
You must be signed in to change notification settings - Fork 430
Change likelihood defaults #1985
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
Conversation
jesnie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
gpflow/config/__config__.py
Outdated
| * ``GPFLOW_FLOAT``: "float16", "float32", or "float64" | ||
| * ``GPFLOW_POSITIVE_BIJECTOR``: "exp" or "softplus" | ||
| * ``GPFLOW_POSITIVE_MINIMUM``: Any positive float number | ||
| * ``LIKELIHOODS_POSITIVE_MINIMUM``: Any positive float number |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably prepend GPFLOW_ for consistency with the above...
| * ``LIKELIHOODS_POSITIVE_MINIMUM``: Any positive float number | |
| * ``GPFLOW_LIKELIHOODS_POSITIVE_MINIMUM``: Any positive float number |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #1985 +/- ##
===========================================
+ Coverage 98.06% 98.16% +0.09%
===========================================
Files 97 97
Lines 5437 5458 +21
===========================================
+ Hits 5332 5358 +26
+ Misses 105 100 -5
☔ View full report in Codecov by Sentry. |
|
With plural |
PR type: bugfix / enhancement
Summary
GPflow had a feature of setting the minimal positive value using
gpflow.config.set_default_positive_minimum. Recently, the default minimum boundary for positive values in scalar likelihoods has been changed to in module global variable with fixed value. That introduced a couple of issues:positive_minimumconfig value, as it was supposed to control all positive values in the GPflow package.configwas supposed to be a single controlling centre.This PR introduces
likelihoods_positive_minimumin config that controls positive values in scalar likelihoods.PR checklist
make format)make check-all)