Revision 5b16a12e3a21e1435badfe99c4821444260df2fa authored by John Bradshaw on 23 October 2017, 10:32:06 UTC, committed by John Bradshaw on 23 October 2017, 10:32:06 UTC
the future. * EP while loop broken out and made into seperate class to allow it to be easy to reuse elsewhere. Tidy up of the variable names and made more general. Tests written to check that it can recover the true solution when the approximating factors have the same solution as the true solution. * Central moment functions moved out of EP class and live elsewhere. Step function, Gaussian and Gaussian CDF moments implemented all with tests. * Likelihoods now are associated with a method that returns their central moments generator function. Only implemented for Bernoulli but this allows one to store moment logic with the likelihood function which is more where it belongs. * Updated the VGP versus EP binary classification example script to use this new source structure. This has remained in the docs so have not written tests for this part.
1 parent f46eeb3
File | Mode | Size |
---|---|---|
__init__.py | -rw-r--r-- | 0 bytes |
gpflowrc_test.txt | -rw-r--r-- | 157 bytes |
reference.py | -rw-r--r-- | 2.0 KB |
test_autoflow.py | -rw-r--r-- | 9.5 KB |
test_central_moment_calculators.py | -rw-r--r-- | 9.7 KB |
test_conditionals.py | -rw-r--r-- | 6.7 KB |
test_config.py | -rw-r--r-- | 3.2 KB |
test_coregion.py | -rw-r--r-- | 6.6 KB |
test_data_object.py | -rw-r--r-- | 7.2 KB |
test_ekerns.py | -rw-r--r-- | 22.7 KB |
test_ep_runner.py | -rw-r--r-- | 7.4 KB |
test_gaussian_utils.py | -rw-r--r-- | 3.3 KB |
test_gplvm.py | -rw-r--r-- | 6.5 KB |
test_hmc.py | -rw-r--r-- | 4.6 KB |
test_kerns.py | -rw-r--r-- | 19.6 KB |
test_likelihoods.py | -rw-r--r-- | 18.3 KB |
test_mean_functions.py | -rw-r--r-- | 14.7 KB |
test_method_equivalence.py | -rw-r--r-- | 9.8 KB |
test_methods.py | -rw-r--r-- | 11.4 KB |
test_minibatch_data.py | -rw-r--r-- | 4.7 KB |
test_model.py | -rw-r--r-- | 7.4 KB |
test_notebooks.py | -rw-r--r-- | 3.0 KB |
test_param.py | -rw-r--r-- | 22.5 KB |
test_pickle.py | -rw-r--r-- | 5.6 KB |
test_predict.py | -rw-r--r-- | 6.5 KB |
test_priors.py | -rw-r--r-- | 4.3 KB |
test_profiling.py | -rw-r--r-- | 2.6 KB |
test_session.py | -rw-r--r-- | 3.4 KB |
test_transforms.py | -rw-r--r-- | 6.3 KB |
test_triang.py | -rw-r--r-- | 2.2 KB |
test_variational.py | -rw-r--r-- | 9.2 KB |
Computing file changes ...