Skip to content

Commit

Permalink
minor work on consistency with gpCAM
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusMNoack committed Jun 7, 2024
1 parent a9aeaa5 commit 2cb4fc0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/source/examples/MultiTaskTest.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,11 @@
"\n",
"#third task\n",
"mean3 = my_gp2.posterior_mean(x_pred3D, x_out = np.zeros((1)) + 2)[\"f(x)\"]\n",
"var3 = my_gp2.posterior_covariance(x_pred3D, x_out = np.zeros((1))+2)[\"v(x)\"]"
"var3 = my_gp2.posterior_covariance(x_pred3D, x_out = np.zeros((1))+2)[\"v(x)\"]\n",
"\n",
"##we could have also called for all tasks\n",
"#mean = my_gp2.posterior_mean(x_pred3D, x_out = np.array([0,1,2]))[\"f(x)\"]\n",
"#var = my_gp2.posterior_covariance(x_pred3D, x_out = np.array([0,1,2]))[\"v(x)\"]"
]
},
{
Expand Down
6 changes: 5 additions & 1 deletion examples/MultiTaskTest.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,11 @@
"\n",
"#third task\n",
"mean3 = my_gp2.posterior_mean(x_pred3D, x_out = np.zeros((1)) + 2)[\"f(x)\"]\n",
"var3 = my_gp2.posterior_covariance(x_pred3D, x_out = np.zeros((1))+2)[\"v(x)\"]"
"var3 = my_gp2.posterior_covariance(x_pred3D, x_out = np.zeros((1))+2)[\"v(x)\"]\n",
"\n",
"##we could have also called for all tasks\n",
"#mean = my_gp2.posterior_mean(x_pred3D, x_out = np.array([0,1,2]))[\"f(x)\"]\n",
"#var = my_gp2.posterior_covariance(x_pred3D, x_out = np.array([0,1,2]))[\"v(x)\"]"
]
},
{
Expand Down

0 comments on commit 2cb4fc0

Please sign in to comment.