https://github.com/GPflow/GPflow
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
Raw File
Tip revision: 5b16a12e3a21e1435badfe99c4821444260df2fa authored by John Bradshaw on 23 October 2017, 10:32:06 UTC
Refactor of EP implementation to modularise and make more extensible in
Tip revision: 5b16a12
.travis.yml_copy
sudo: required
dist: trusty    
language: python
python:
  - 3.5
install:
  - sudo apt-get update
  - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a

  # Replace dep1 dep2 ... with your dependencies
  - conda create -q -n test-environment python=3.5 numpy scipy pandas nose nbformat nbconvert jupyter_client jupyter matplotlib
  - source activate test-environment
  - pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0-cp35-cp35m-linux_x86_64.whl
  - python setup.py install
script:
  - nosetests --nologcapture testing
back to top