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
History
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
File Mode Size
__init__.py -rw-r--r-- 154 bytes
reference.py -rw-r--r-- 2.0 KB
test_broadcasted_conditionals.py -rw-r--r-- 8.5 KB
test_conditionals.py -rw-r--r-- 4.0 KB
test_config.py -rw-r--r-- 3.3 KB
test_coregion.py -rw-r--r-- 7.4 KB
test_deepcopy.py -rw-r--r-- 1.2 KB
test_expectations.py -rw-r--r-- 10.5 KB
test_features.py -rw-r--r-- 4.1 KB
test_gplvm.py -rw-r--r-- 4.2 KB
test_kernels.py -rw-r--r-- 17.5 KB
test_kldiv.py -rw-r--r-- 5.2 KB
test_likelihoods.py -rw-r--r-- 19.2 KB
test_logdensities.py -rw-r--r-- 4.0 KB
test_mcmc_helper.py -rw-r--r-- 3.2 KB
test_mean_functions.py -rw-r--r-- 11.2 KB
test_method_equivalence.py -rw-r--r-- 11.2 KB
test_methods.py -rw-r--r-- 9.4 KB
test_model.py -rw-r--r-- 1.5 KB
test_multioutput.py -rw-r--r-- 24.9 KB
test_multioutput_features.py -rw-r--r-- 2.2 KB
test_natural_gradient.py -rw-r--r-- 4.9 KB
test_notebooks.py -rw-r--r-- 2.8 KB
test_predict.py -rw-r--r-- 6.9 KB
test_printing.py -rw-r--r-- 15.9 KB
test_prior.py -rw-r--r-- 3.2 KB
test_quadrature.py -rw-r--r-- 2.9 KB
test_scaled_euclid_dist.py -rw-r--r-- 1.9 KB
test_training.py -rw-r--r-- 4.1 KB
test_uncertain_conditional.py -rw-r--r-- 9.4 KB
test_variational.py -rw-r--r-- 8.1 KB

back to top