https://github.com/GPflow/GPflow
Revision 6baeb43b1d68518e6ba0074e702d014f0fe85865 authored by jch5f on 15 June 2018, 10:31:27 UTC, committed by James Hensman on 15 June 2018, 10:31:27 UTC
* Add scaling to studentT conditional variance

The conditional variance of the Student’s T distributions is
proportional to the square of the scale of the distribution.  See
https://en.wikipedia.org/wiki/Student%27s_t-distribution#In_terms_of_sca
ling_parameter_σ,_or_σ2.
I’ve incorporated the correct scaling factor.

* explicit scale dtype and tensor broadcasting

Added an explicit data type for the Student’s T scale parameter, and
made the broadcasting in the conditional_variance method explicit.
1 parent 916458e
Raw File
Tip revision: 6baeb43b1d68518e6ba0074e702d014f0fe85865 authored by jch5f on 15 June 2018, 10:31:27 UTC
Likelihood/students t variance scaling (#777)
Tip revision: 6baeb43
.travis.yml
sudo: required
dist: trusty
language: python
python:
  - 3.6

before_install:
  - sudo apt-get update -qq

install:
  - pip install numpy scipy pandas pytest nbformat nbconvert jupyter_client jupyter matplotlib pytest-xdist pytest-cov codecov multipledispatch
  - pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0-cp36-cp36m-linux_x86_64.whl
  - python setup.py install

script:
  - pytest -W ignore::UserWarning --durations=5 --cov=./ -d --tx 3*popen//python=python3.6 --pyargs tests
  - codecov --token=2ae2a756-f39c-467c-bd9c-4bdb3dc439c8

cache:
  apt: true
  pip: true
  directories:
    - $HOME/.cache/pip
    - $HOME/download
back to top