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
Makefile
.PHONY: help clean dev docs package test

help:
	@echo "The following make targets are available:"
	@echo "	dev-install		install all dependencies for dev environment and sets a egg link to the project sources"
	@echo "	install			install all dependencies and the project in the current environment"
	@echo "	package			build pip package"
	@echo "	test			run all tests in parallel"
	@echo "	clean			removes package, build files and egg info"

clean:
	rm -rf dist *.egg-info build

dev-install:
	pip install -e .

install:
	pip install .

package:
	python setup.py bdist

test:
	pytest -n auto tests/
back to top