mirror of
https://github.com/huggingface/deep-rl-class.git
synced 2026-03-30 16:50:17 +08:00
Update unit2.ipynb
This commit is contained in:
@@ -511,7 +511,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Let's create our Qtable of size (state_space, action_space) and initialized each values at 0 using np.zeros\n",
|
||||
"# Let's create our Qtable of size (state_space, action_space) and initialized each values at 0 using np.zeros. np.zeros needs a tuple (a,b)\n",
|
||||
"def initialize_q_table(state_space, action_space):\n",
|
||||
" Qtable = \n",
|
||||
" return Qtable"
|
||||
|
||||
Reference in New Issue
Block a user