https://github.com/GPflow/GPflow
Revision 4a132712259277f3a312ebe81359cc687aeab6fd authored by st-- on 30 April 2018, 16:35:23 UTC, committed by Mark van der Wilk on 30 April 2018, 16:35:23 UTC
* Support exponential distribution as prior. The exponential distribution here is parametrized using the rate parameter lambda and always has its mode at 0. * Reuse exponential density for prior distribution Add transformation to test of exponential prior This ensures that it is only evaluated on the positive domain * Add sample method * fix test * fix test again * more fixes * add pragma: no cover to make codecov happy * add sample tests * sample test * revert change to densities.exponential() * fix * pr comments * fix test * removing commented code
1 parent e59ff2f
Tip revision: 4a132712259277f3a312ebe81359cc687aeab6fd authored by st-- on 30 April 2018, 16:35:23 UTC
Add Exponential distribution as prior (#717)
Add Exponential distribution as prior (#717)
Tip revision: 4a13271
.travis.yml
sudo: required
dist: trusty
language: python
python:
- 3.6
before_install:
- sudo apt-get update -qq
install:
- pip install numpy scipy pandas pytest nbformat nbconvert jupyter_client jupyter matplotlib pytest-xdist pytest-cov codecov multipledispatch
- pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.6.0-cp36-cp36m-linux_x86_64.whl
- python setup.py install
script:
- pytest -W ignore::UserWarning --durations=5 --cov=./ -d --tx 3*popen//python=python3.6 --pyargs tests
- codecov --token=2ae2a756-f39c-467c-bd9c-4bdb3dc439c8
cache:
apt: true
pip: true
directories:
- $HOME/.cache/pip
- $HOME/download
Computing file changes ...