Skip to content

Commit

Permalink
Replace gym with gymnasium in bandits-101 recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
gbolmier committed Nov 23, 2024
1 parent f2f4367 commit 30e2e09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/recipes/bandits-101.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-04T17:47:28.911688Z",
Expand All @@ -31,7 +31,7 @@
},
"outputs": [],
"source": [
"import gym\n",
"import gymnasium as gym\n",
"\n",
"for k in gym.envs.registry:\n",
" if k.startswith('river_bandits'):\n",
Expand All @@ -48,7 +48,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-04T17:47:28.988524Z",
Expand All @@ -59,7 +59,7 @@
},
"outputs": [],
"source": [
"import gym\n",
"import gymnasium as gym\n",
"from river import bandit\n",
"import pandas as pd\n",
"from tqdm import tqdm\n",
Expand Down

0 comments on commit 30e2e09

Please sign in to comment.