https://github.com/GPflow/GPflow
Revision 69364c2b79e1e6dd0fe7419377a044c0bdedb4f5 authored by Mark van der Wilk on 04 October 2017, 18:13:22 UTC, committed by GitHub on 04 October 2017, 18:13:22 UTC
* Clean up kullback_leiblers: a single function for whitened/unwhitened and diagonal/full-covariance. Deprecate the rest.

* Update VGP and SVGP models to use new `gauss_kl`

* clean up test_conditionals

* Improve documentation

* tidy up gauss_kl code

* Add dedicated tests for Gaussian KL divergence

* Bumped version.

* Added encoding hint for python2.7.

* @ to .dot()

* change encoding to utf-8

* Added coding for `test_kldiv.py` + PEP8.

* I'm all for high test coverage, but this seems a bit overzealous :P
1 parent 4d8b552
Raw File
Tip revision: 69364c2b79e1e6dd0fe7419377a044c0bdedb4f5 authored by Mark van der Wilk on 04 October 2017, 18:13:22 UTC
Clean up kullback_leiblers (#514)
Tip revision: 69364c2
.travis.yml
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.2.1-cp35-cp35m-linux_x86_64.whl
  - python setup.py install
script:
  - nosetests -v --nologcapture testing
back to top