https://github.com/GPflow/GPflow
Revision 24b5733d161bed633dd5c00c4de3faf4d4ee0322 authored by Eric Hammy on 13 November 2019, 12:27:36 UTC, committed by Artem Artemev on 13 November 2019, 12:27:36 UTC
Migrate MCMC notebook to gpflow 2 using tensorflow probabilities.
Changes required a few changes across the rest of the codebase, outside of the notebook.

* small change to leaf printing function (fix bug, which was preventing printing of composite kernels)
* parameters and trainable_parameters now return tuples, not generators, like tf implementation of variables, trainable_variables
* tfp.distributions now work with different dtypes (by wrapping of parameters), so now play nicely with gpflow.
1 parent 046b107
Raw File
Tip revision: 24b5733d161bed633dd5c00c4de3faf4d4ee0322 authored by Eric Hammy on 13 November 2019, 12:27:36 UTC
Migrate MCMC notebook to gpflow2.0 (#1100)
Tip revision: 24b5733
.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