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
File | Mode | Size |
---|---|---|
core | ||
models | ||
params | ||
saver | ||
training | ||
__init__.py | -rw-r--r-- | 1.6 KB |
_settings.py | -rw-r--r-- | 5.3 KB |
_version.py | -rw-r--r-- | 597 bytes |
actions.py | -rw-r--r-- | 11.8 KB |
conditionals.py | -rw-r--r-- | 9.6 KB |
decors.py | -rw-r--r-- | 7.1 KB |
densities.py | -rw-r--r-- | 3.4 KB |
expectations.py | -rw-r--r-- | 39.4 KB |
features.py | -rw-r--r-- | 6.7 KB |
gpflowrc | -rw-r--r-- | 434 bytes |
kernels.py | -rw-r--r-- | 27.2 KB |
kullback_leiblers.py | -rw-r--r-- | 3.8 KB |
likelihoods.py | -rw-r--r-- | 20.4 KB |
mean_functions.py | -rw-r--r-- | 5.4 KB |
misc.py | -rw-r--r-- | 7.4 KB |
priors.py | -rw-r--r-- | 4.6 KB |
probability_distributions.py | -rw-r--r-- | 1.7 KB |
quadrature.py | -rw-r--r-- | 3.0 KB |
session_manager.py | -rw-r--r-- | 4.3 KB |
test_util.py | -rw-r--r-- | 3.0 KB |
transforms.py | -rw-r--r-- | 12.5 KB |
Computing file changes ...