Skip to content

Commit b3911ea

Browse files
committed
fix: rename cov_mat_jitted to cov_mat_stabilize
1 parent 426cd9f commit b3911ea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/gaussian_processes/HSGP-Basic.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@
129129
" # Draw one sample from the underlying GP.\n",
130130
" n = len(x)\n",
131131
" cov_func = eta_true**2 * pm.gp.cov.Matern52(1, ell_true)\n",
132-
" cov_mat_jitted = pm.gp.util.stabilize(cov_func(x[:, None]))\n",
133-
" gp_true = pm.MvNormal.dist(mu=np.zeros(n), cov=cov_mat_jitted)\n",
132+
" cov_mat_stabilized = pm.gp.util.stabilize(cov_func(x[:, None]))\n",
133+
" gp_true = pm.MvNormal.dist(mu=np.zeros(n), cov=cov_mat_stabilized)\n",
134134
" f_true = pm.draw(gp_true, draws=1, random_seed=rng)\n",
135135
"\n",
136136
" # The observed data is the latent function plus a small amount\n",

examples/gaussian_processes/HSGP-Basic.myst.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def simulate_1d(x, ell_true, eta_true, sigma_true):
8787
# Draw one sample from the underlying GP.
8888
n = len(x)
8989
cov_func = eta_true**2 * pm.gp.cov.Matern52(1, ell_true)
90-
cov_mat_jitted = pm.gp.util.stabilize(cov_func(x[:, None]))
91-
gp_true = pm.MvNormal.dist(mu=np.zeros(n), cov=cov_mat_jitted)
90+
cov_mat_stabilized = pm.gp.util.stabilize(cov_func(x[:, None]))
91+
gp_true = pm.MvNormal.dist(mu=np.zeros(n), cov=cov_mat_stabilized)
9292
f_true = pm.draw(gp_true, draws=1, random_seed=rng)
9393
9494
# The observed data is the latent function plus a small amount

0 commit comments

Comments
 (0)