Skip to content

Commit 8fba57d

Browse files
committed
docs latex fix
1 parent a77395c commit 8fba57d

4 files changed

Lines changed: 54 additions & 24 deletions

File tree

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def setup(app):
5151

5252
nb_execution_mode = 'off'
5353

54-
myst_enable_extensions = ['colon_fence']
54+
myst_enable_extensions = ['colon_fence', 'dollarmath', 'amsmath']
5555

5656
intersphinx_mapping = {
5757
'python': ('https://docs.python.org/3/', None),

examples/MultiTaskTest.ipynb

Lines changed: 42 additions & 4 deletions
Large diffs are not rendered by default.

examples/NonEuclideanInputSpaces.ipynb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"outputs": [],
2020
"source": [
2121
"#install the newest version of fvgp\n",
22-
"#!pip install fvgp~=4.7.9"
22+
"#!pip install fvgp~=4.8.0"
2323
]
2424
},
2525
{
@@ -55,17 +55,17 @@
5555
"name": "stderr",
5656
"output_type": "stream",
5757
"text": [
58-
"/home/marcus/Coding/fvGP/fvgp/gp.py:310: UserWarning: No noise function or measurement noise provided. Noise variances will be set to (0.01 * mean(|y_data|))^2.\n",
58+
"/home/marcus/Coding/fvGP/fvgp/gp.py:329: UserWarning: No noise function or measurement noise provided. Noise variances will be set to (0.01 * mean(|y_data|))^2.\n",
5959
" self.likelihood = GPlikelihood(self.data,\n"
6060
]
6161
},
6262
{
6363
"name": "stdout",
6464
"output_type": "stream",
6565
"text": [
66-
"hyperparameters: [12.12847202 10.6867904 ]\n",
67-
"prediction : 3.2944069811247743\n",
68-
"uncertainty: [0.93214154]\n"
66+
"hyperparameters: [28.85710592 28.97643312]\n",
67+
"prediction : 3.3575135028855434\n",
68+
"uncertainty: [0.5369167]\n"
6969
]
7070
}
7171
],
@@ -232,7 +232,7 @@
232232
{
233233
"data": {
234234
"text/plain": [
235-
"array([ 0.9038004 , 10.03596858])"
235+
"array([1.69625485, 3.96570178])"
236236
]
237237
},
238238
"execution_count": 7,
@@ -259,10 +259,10 @@
259259
"data": {
260260
"text/plain": [
261261
"{'x': ['dwed', 'dwe'],\n",
262-
" 'm(x)': array([[0.76525193, 0.76525193, 0.76525193, 0.76525193, 0.76525193],\n",
263-
" [0.59857919, 0.59857919, 0.59857919, 0.59857919, 0.59857919]]),\n",
264-
" 'm(x)_flat': array([0.76525193, 0.59857919, 0.76525193, 0.59857919, 0.76525193,\n",
265-
" 0.59857919, 0.76525193, 0.59857919, 0.76525193, 0.59857919]),\n",
262+
" 'm(x)': array([[0.49867421, 0.49867421, 0.49867421, 0.49867421, 0.49867421],\n",
263+
" [0.53123029, 0.53123029, 0.53123029, 0.53123029, 0.53123029]]),\n",
264+
" 'm(x)_flat': array([0.49867421, 0.53123029, 0.49867421, 0.53123029, 0.49867421,\n",
265+
" 0.53123029, 0.49867421, 0.53123029, 0.49867421, 0.53123029]),\n",
266266
" 'x_pred': [['dwed', np.int64(0)],\n",
267267
" ['dwe', np.int64(0)],\n",
268268
" ['dwed', np.int64(1)],\n",
@@ -327,7 +327,7 @@
327327
"name": "python",
328328
"nbconvert_exporter": "python",
329329
"pygments_lexer": "ipython3",
330-
"version": "3.11.14"
330+
"version": "3.11.15"
331331
}
332332
},
333333
"nbformat": 4,

fvgp/gp.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@
1616
# TODO: search below "TODO"
1717

1818

19-
# RECENT UNTESTED CHANGES
20-
# - NON PD error for cholesky and rank-1 updates
21-
# - added a sparse CG tolerance to the args
22-
# - added a check for the presence of pytorch or cupy when gpu compute device is specified
23-
# - dtypes for lin alg
24-
# - scatter only at init and when data changes. scatter future released.
25-
# - added a lot of checks for the formats of the inputs and outputs of the callables and the hyperparameters
26-
# - added async MCMC and Adam training options for local and remote training. This is basically accomplished, but not fully tested yet.
2719

2820
class GP:
2921
"""

0 commit comments

Comments
 (0)