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
Tip revision: 27bc0d4f16a4de1aeb5e6f8238adf2d84838f49e authored by st-- on 31 March 2020, 08:39:35 UTC
_scalar_log_density -> _scalar_log_prob (#1393)
_scalar_log_density -> _scalar_log_prob (#1393)
Tip revision: 27bc0d4
Makefile
.PHONY: help clean dev-install install package format 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
format:
black -t py36 -l 100 gpflow tests doc setup.py
test:
pytest -v --durations=10 tests/
Computing file changes ...