Skip to content

Commit

Permalink
modify setup
Browse files Browse the repository at this point in the history
  • Loading branch information
William Wilkinson committed Nov 2, 2021
1 parent 8a901ad commit df8415e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ Icon?
ehthumbs.db
Thumbs.db

setup.cfg
dist/

# Exclude externalisation results from tikz
tikz*.pdf
*.md5
Expand Down
5 changes: 2 additions & 3 deletions bayesnewton/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(self, kernel, likelihood, X, Y):

class SparseVariationalGP(VariationalInference, SparseGaussianProcess):
"""
Sparse variational Gaussian process (SVGP) [1], adapted to use conjugate computation VI [2]
Sparse variational Gaussian process (SVGP) [1, 2]
:param kernel: a kernel object
:param likelihood: a likelihood object
:param X: inputs
Expand All @@ -67,8 +67,7 @@ class SparseVariationalGP(VariationalInference, SparseGaussianProcess):
:param opt_z: boolean determining whether to optimise the inducing input locations
[1] Hensman, Matthews, Ghahramani: Scalable Variational Gaussian Process Classification, AISTATS 2015
[2] Khan, Lin: Conugate-Computation Variational Inference - Converting Inference in Non-Conjugate Models in to
Inference in Conjugate Models, AISTATS 2017
[2] Adam, Chang, Khan, Solin: Dual Parameterization of Sparse Variational Gaussian Processes, NeurIPS 2021
"""
def __init__(self, kernel, likelihood, X, Y, Z, opt_z=False):
super().__init__(kernel, likelihood, X, Y, Z, opt_z)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

__version__ = "0.0.0"
__version__ = "1.1"

setup(
name='bayesnewton',
Expand Down

0 comments on commit df8415e

Please sign in to comment.