Skip to content

Commit 74e524f

Browse files
committed
minor typos
1 parent 0ceea06 commit 74e524f

3 files changed

Lines changed: 23 additions & 9 deletions

File tree

examples/SingleTaskTest.ipynb

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,13 +291,11 @@
291291
]
292292
},
293293
{
294-
"cell_type": "code",
295-
"execution_count": 17,
296-
"id": "a4441014",
294+
"cell_type": "markdown",
295+
"id": "256bd1e7",
297296
"metadata": {},
298-
"outputs": [],
299297
"source": [
300-
"# HGDL"
298+
"#### HGDL"
301299
]
302300
},
303301
{
@@ -346,6 +344,14 @@
346344
"my_gp1.stop_training(opt_obj) ##this leaves the dask client alive, kill_client() will shut it down. "
347345
]
348346
},
347+
{
348+
"cell_type": "markdown",
349+
"id": "dc1b996b",
350+
"metadata": {},
351+
"source": [
352+
"#### ADAM"
353+
]
354+
},
349355
{
350356
"cell_type": "code",
351357
"execution_count": 21,
@@ -392,6 +398,14 @@
392398
"my_gp1.stop_training(opt_obj) ##this leaves the dask client alive, kill_client() will shut it down."
393399
]
394400
},
401+
{
402+
"cell_type": "markdown",
403+
"id": "285da8c2",
404+
"metadata": {},
405+
"source": [
406+
"#### MCMC"
407+
]
408+
},
395409
{
396410
"cell_type": "code",
397411
"execution_count": 22,

fvgp/fvgp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class fvGP(GP):
6060
computation relies on this: when a hyperparameter index belongs to the mean
6161
function its kernel derivative is assumed zero, and vice versa.
6262
noise_variances : np.ndarray, optional
63-
An numpy array defining the uncertainties/noise in the
63+
A numpy array defining the uncertainties/noise in the
6464
``y_data`` in form of a point-wise variance. Shape (V, No).
6565
If ``y_data`` has np.nan entries, the corresponding
6666
``noise_variances`` have to be np.nan.
@@ -388,7 +388,7 @@ def update_gp_data(
388388
It is possible that not every entry in ``x_new``
389389
has all corresponding tasks available. In that case ``y_new`` may contain np.nan entries.
390390
noise_variances_new : np.ndarray, optional
391-
An numpy array or list defining the uncertainties/noise in the
391+
A numpy array or list defining the uncertainties/noise in the
392392
``y_data`` in form of a point-wise variance. Shape (V, No).
393393
If ``y_data`` has np.nan entries, the corresponding
394394
``noise_variances`` have to be np.nan.

fvgp/gp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class GP:
6262
computation relies on this: when a hyperparameter index belongs to the mean
6363
function its kernel derivative is assumed zero, and vice versa.
6464
noise_variances : np.ndarray, optional
65-
An numpy array defining the uncertainties/noise in the
65+
A numpy array defining the uncertainties/noise in the
6666
``y_data`` in form of a point-wise variance. Shape (V).
6767
Note: if no noise_variances are provided here, the noise_function
6868
callable will be used; if the callable is not provided, the noise variances
@@ -455,7 +455,7 @@ def update_gp_data(
455455
y_new : np.ndarray
456456
The values of the data points. Shape (V).
457457
noise_variances_new : np.ndarray, optional
458-
An numpy array defining the uncertainties in the data ``y_data`` in form of a point-wise variance.
458+
A numpy array defining the uncertainties in the data ``y_data`` in form of a point-wise variance.
459459
Shape(y_new)==Shape(noise_variances_new).
460460
Note: if no variances are provided here, the noise_covariance
461461
callable will be used; if the callable is not provided the noise variances

0 commit comments

Comments
 (0)