Skip to content

Commit

Permalink
fixed syntax error in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswmorris committed Jul 13, 2023
1 parent 8e2a980 commit b5d8867
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions docs/source/tutorials/hyperparameters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
" db=db,\n",
")\n",
"\n",
"RE(agent.initialize(init_scheme=\"quasi-random\", n_init=16))\n",
"RE(agent.initialize(acqf=\"qr\", n_init=16))\n",
"\n",
"agent.plot_tasks()"
]
Expand All @@ -92,7 +92,7 @@
"metadata": {},
"outputs": [],
"source": [
"agent.tasks[0].regressor.covar_module.dimension_transform"
"agent.tasks[0].regressor.covar_module.latent_dimensions"
]
},
{
Expand Down Expand Up @@ -123,17 +123,9 @@
"metadata": {},
"outputs": [],
"source": [
"RE(agent.learn(strategy=\"ei\", n_iter=8))\n",
"RE(agent.learn(\"ei\", n_iter=4))\n",
"agent.plot_tasks()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "9ca1fa6c",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -152,7 +144,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.16 (main, Mar 8 2023, 14:00:05) \n[GCC 11.2.0]"
"version": "3.9.16"
},
"vscode": {
"interpreter": {
Expand Down

0 comments on commit b5d8867

Please sign in to comment.