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 |
---|---|---|
__init__.py | -rw-r--r-- | 0 bytes |
reference.py | -rw-r--r-- | 2.0 KB |
test_actions.py | -rw-r--r-- | 1.8 KB |
test_autoflow.py | -rw-r--r-- | 6.1 KB |
test_conditionals.py | -rw-r--r-- | 6.0 KB |
test_config.py | -rw-r--r-- | 4.9 KB |
test_core.py | -rw-r--r-- | 1.2 KB |
test_coregion.py | -rw-r--r-- | 7.3 KB |
test_data_object.py | -rw-r--r-- | 6.2 KB |
test_dataholders.py | -rw-r--r-- | 8.0 KB |
test_densities.py | -rw-r--r-- | 2.2 KB |
test_expectations.py | -rw-r--r-- | 10.9 KB |
test_features.py | -rw-r--r-- | 4.0 KB |
test_gplvm.py | -rw-r--r-- | 3.8 KB |
test_hmc.py | -rw-r--r-- | 6.9 KB |
test_kerns.py | -rw-r--r-- | 18.5 KB |
test_kldiv.py | -rw-r--r-- | 5.1 KB |
test_likelihoods.py | -rw-r--r-- | 16.1 KB |
test_mean_functions.py | -rw-r--r-- | 16.4 KB |
test_method_equivalence.py | -rw-r--r-- | 9.6 KB |
test_methods.py | -rw-r--r-- | 10.7 KB |
test_misc.py | -rw-r--r-- | 5.6 KB |
test_model.py | -rw-r--r-- | 9.3 KB |
test_notebooks.py | -rw-r--r-- | 2.5 KB |
test_optimizers.py | -rw-r--r-- | 16.1 KB |
test_param.py | -rw-r--r-- | 44.2 KB |
test_predict.py | -rw-r--r-- | 6.0 KB |
test_priors.py | -rw-r--r-- | 6.6 KB |
test_profiling.py | -rw-r--r-- | 3.6 KB |
test_saver.py | -rw-r--r-- | 5.9 KB |
test_session.py | -rw-r--r-- | 3.5 KB |
test_transforms.py | -rw-r--r-- | 11.1 KB |
test_triang.py | -rw-r--r-- | 2.8 KB |
test_uncertain_conditional.py | -rw-r--r-- | 9.6 KB |
test_variational.py | -rw-r--r-- | 8.3 KB |
Computing file changes ...