https://github.com/GPflow/GPflow
Revision d618fe57e23d798f27aed8a50025811823ab0bd2 authored by st-- on 30 September 2020, 13:54:44 UTC, committed by GitHub on 30 September 2020, 13:54:44 UTC
* Global constant for num_gauss_hermite_points default * QuadratureLikelihood with dependency injection (in preparation for unifying with MonteCarloLikelihood) * ScalarLikelihood as QuadratureLikelihood subclass (with _quadrature_dim/_quadrature_log_prob/_quadrature_reduction) * HeteroskedasticTFPConditional: rename argument to `scale_transform` and remove undocumented scaling * DeprecationWarning for deprecated code
1 parent 12395be
Tip revision: d618fe57e23d798f27aed8a50025811823ab0bd2 authored by st-- on 30 September 2020, 13:54:44 UTC
Likelihood quadrature cleanup (#1571)
Likelihood quadrature cleanup (#1571)
Tip revision: d618fe5
Makefile
BLACK_CONFIG=-t py36 -l 100
BLACK_TARGETS=gpflow tests doc setup.py
.PHONY: help clean dev-install install package format format-check type-check test check-all
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 " clean removes package, build files and egg info"
@echo " format auto-format code"
@echo " format-check check that code has been formatted correctly"
@echo " type-check check that mypy is happy with type annotations"
@echo " test run all tests"
@echo " check-all run format-check, type-check, and test (as run by the continuous integration system)"
clean:
rm -rf dist *.egg-info build
dev-install:
pip install --use-feature=2020-resolver -e .
install:
pip install --use-feature=2020-resolver .
package:
python setup.py bdist
format:
black $(BLACK_CONFIG) $(BLACK_TARGETS)
format-check:
black --check $(BLACK_CONFIG) $(BLACK_TARGETS)
type-check:
mypy .
test:
pytest -n auto --dist loadfile -v --durations=10 tests/
check-all: format-check type-check test
Computing file changes ...