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
History
Tip revision: 4a132712259277f3a312ebe81359cc687aeab6fd authored by st-- on 30 April 2018, 16:35:23 UTC
Add Exponential distribution as prior (#717)
Tip revision: 4a13271
File Mode Size
.github
doc
gpflow
tests
.coveragerc -rw-r--r-- 261 bytes
.coveralls.yml -rw-r--r-- 23 bytes
.gitignore -rw-r--r-- 811 bytes
.pylintrc -rw-r--r-- 14.6 KB
.travis.yml -rw-r--r-- 664 bytes
Dockerfile -rw-r--r-- 1.1 KB
LICENSE -rw-r--r-- 11.1 KB
MANIFEST.in -rw-r--r-- 166 bytes
README.md -rw-r--r-- 5.3 KB
RELEASE.md -rw-r--r-- 5.3 KB
codecov.yml -rw-r--r-- 268 bytes
contributing.md -rw-r--r-- 6.1 KB
docs_require.txt -rw-r--r-- 404 bytes
notebooks l--------- 21 bytes
roadmap.md -rw-r--r-- 506 bytes
run_tests.sh -rwxr-xr-x 896 bytes
setup.py -rw-r--r-- 2.3 KB

README.md

back to top