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
.coveragerc
[report]
omit = *tests*, setup.py
exclude_lines =
    pragma: no cover
    def __repr__
    def __str__
    def _repr_html_
    def _html_table_rows
    if self.debug:
    if settings.DEBUG
    raise AssertionError
    raise NotImplementedError
    if __name__ == .__main__.:
    print
back to top