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
Raw File
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
.gitignore
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Emacs backups
*~

# Pycharm IDE directory
.idea

# IPython Notebooks
.ipynb_checkpoints

# VSCode
.vscode

# OSX
.DS_Store
back to top