Skip to content

Commit

Permalink
examples fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusMNoack committed Sep 14, 2023
1 parent 38ac643 commit c3ada53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions docs/source/examples/MultiTaskTest.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@
},
"outputs": [],
"source": [
"scatter(x_data3[:,0],x_data3[:,1],x_data3[:,2], size = 5, color = y_data3[:,0])\n",
"scatter(x_data3[:,0],x_data3[:,1],x_data3[:,2], size = 5, color = y_data3[:,1])\n",
"scatter(x_data3[:,0],x_data3[:,1],x_data3[:,2], size = 5, color = y_data3[:,2])"
"#scatter(x_data3[:,0],x_data3[:,1],x_data3[:,2], size = 5, color = y_data3[:,0])\n",
"#scatter(x_data3[:,0],x_data3[:,1],x_data3[:,2], size = 5, color = y_data3[:,1])\n",
"#scatter(x_data3[:,0],x_data3[:,1],x_data3[:,2], size = 5, color = y_data3[:,2])"
]
},
{
Expand Down Expand Up @@ -174,11 +174,11 @@
"#in the fvgp world. Therefore fvGP(3,1,3, ...), for 3 dim input, 1 dim output, with 3 outputs \n",
"\n",
"my_gp2 = fvGP(3, 1, 3, x_data3,y_data3,init_hyperparameters=np.ones((2)), info = True,\n",
" #gp_kernel_function=mkernel #what happens if comment this out? (adjust bounds below)\n",
" gp_kernel_function=mkernel #what happens if comment this out? (adjust bounds below)\n",
" )\n",
"#change this based on kernel choice\n",
"hps_bounds = my_gp2.hps_bounds \n",
"#hps_bounds = np.array([[0.001,10000.],[1.,1000.]])\n",
"#hps_bounds = my_gp2.hps_bounds \n",
"hps_bounds = np.array([[0.001,10000.],[1.,1000.]])\n",
"\n",
"#my_gp2.update_gp_data(x_data3,y_data3)\n",
"print(\"Global Training in progress\")\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/examples/gp2ScaleTest.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"\n",
"\n",
"#It's good practice to make sure to wait for all the workers to be ready\n",
"client.wait_for_workers(4)"
"#client.wait_for_workers(4)"
]
},
{
Expand Down

0 comments on commit c3ada53

Please sign in to comment.