Skip to content

Commit 4b2e6ef

Browse files
committed
Fix import
1 parent c063ec9 commit 4b2e6ef

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

gpjax/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
from jax.config import config
22
config.update("jax_enable_x64", True)
3-
from .gps.priors import Prior
3+
from . import gps
4+
from .gps import Prior
45
from .kernel import RBF
56
from .likelihoods import Gaussian
67
from .mean_functions import ZeroMean
78
from .utilities import save, load
9+
10+
11+
__version__ = "0.1.0"

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ def parse_requirements_file(filename):
1818
license='LICENSE',
1919
description=
2020
'Building blocks of Gaussian processes. Made to enable rapid development for researchers.',
21-
long_description=open('README.md').read(),
21+
long_description="GPJax aims to provide a low-level interface to Gaussian process models. Code is written entirely in Jax and Objax to enhance readability, and structured so as to allow researchers to easily extend the code to suit their own needs. When defining GP prior in GPJax, the user need only specify a mean and kernel function. A GP posterior can then be realised by computing the product of our prior with a likelihood function. The idea behind this is that the code should be as close as possible to the maths that we would write on paper when working with GP models.",
2222
install_requires=parse_requirements_file("requirements.txt"),
23-
)
23+
# entry_points={
24+
# "console_scripts": [
25+
# "gpjax=gpjax.__main__:main",
26+
# ]
27+
# },
28+
)

0 commit comments

Comments
 (0)