https://github.com/GPflow/GPflow
Revision 6388133f7bf8f290661bc1a5db917f2a71762bab authored by st-- on 08 April 2020, 13:52:11 UTC, committed by GitHub on 08 April 2020, 13:52:11 UTC
Addresses #1407.

* attempt to improve the error message in the gpflow.Parameter check on assigning a new value that is incompatible with the parameter's transform (e.g. a non-positive value to a parameter with a positive() transform)

* Gaussian likelihood: add explicit `__init__`-time check that variance > variance_lower_bound, add `__init__` docstring, move "default variance lower bound" magic number into class-level constant

* change gpflow.config's positive_minimum to always be a float (initialized to 0.0 by default)
1 parent 92f914d
History
Tip revision: 6388133f7bf8f290661bc1a5db917f2a71762bab authored by st-- on 08 April 2020, 13:52:11 UTC
Improve user experience on invalid assignments to constrained Parameters (#1408)
Tip revision: 6388133
File Mode Size
conditionals
config
covariances
expectations
inducing_variables
kernels
likelihoods
models
optimizers
utilities
__init__.py -rw-r--r-- 1.1 KB
base.py -rw-r--r-- 10.8 KB
ci_utils.py -rw-r--r-- 1.8 KB
kullback_leiblers.py -rw-r--r-- 5.8 KB
logdensities.py -rw-r--r-- 3.3 KB
mean_functions.py -rw-r--r-- 5.8 KB
monitor.py -rw-r--r-- 12.2 KB
probability_distributions.py -rw-r--r-- 1.7 KB
py.typed -rw-r--r-- 27 bytes
quadrature.py -rw-r--r-- 7.7 KB
versions.py -rw-r--r-- 177 bytes

back to top