https://github.com/GPflow/GPflow
Revision 27bc0d4f16a4de1aeb5e6f8238adf2d84838f49e authored by st-- on 31 March 2020, 08:39:35 UTC, committed by GitHub on 31 March 2020, 08:39:35 UTC
In GPflow2, the log probability density itself (summed over multiple outputs, if applicable) was called log_prob to be consistent with tensorflow_probability.
In #1334 the element-wise log probability density to be implemented by ScalarLikelihood subclasses was called _scalar_log_density.
This PR renames the latter to _scalar_log_prob to make it more self-consistent.
1 parent baa8bee
Raw File
Tip revision: 27bc0d4f16a4de1aeb5e6f8238adf2d84838f49e authored by st-- on 31 March 2020, 08:39:35 UTC
_scalar_log_density -> _scalar_log_prob (#1393)
Tip revision: 27bc0d4
.coveragerc
[report]
omit = *tests*, setup.py
exclude_lines =
    pragma: no cover
    def __repr__
    def __str__
    def _repr_html_
    def _repr_pretty_
    if self.debug:
    if settings.DEBUG
    raise AssertionError
    raise NotImplementedError
    if __name__ == .__main__.:
    print
back to top