https://github.com/GPflow/GPflow
Revision 3f5cdd873c4df57737478d08119b92b4b92df37d authored by st-- on 13 February 2020, 11:37:15 UTC, committed by GitHub on 13 February 2020, 11:37:15 UTC
Previously, `Periodic` did not take active_dims, but the Kernel base class specifies active_dims as part of the interface, so this PR adds getter/setter that pass through to the base kernel, as well as accepting active_dims in the Periodic() constructor but raising an error when it is not consistent with base.active_dims.
1 parent 24426b3
Raw File
Tip revision: 3f5cdd873c4df57737478d08119b92b4b92df37d authored by st-- on 13 February 2020, 11:37:15 UTC
Improve documentation and behaviour of Periodic kernel (#1231)
Tip revision: 3f5cdd8
Makefile
.PHONY: help clean dev docs package 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

test:
	pytest -n auto tests/
back to top