Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,18 @@ venv.bak/
archive/
Chapter\ 2/Ch2_Bandits_TensorFlow.ipynb
Chapter\ 2/Ch2_MDPs_old.ipynb
Chapter\ 2/.ipynb_checkpoints
Chapter\ 3/.ipynb_checkpoints/
Chapter\ 3/.DS_Store
Chapter\ 3/Ch3_DQN_old.ipynb
Chapter\ 3/Ch3_Gridworld_exp.ipynb
Chapter\ 3/Ch3_Gridworld.ipynb
Chapter\ 3/Sokoban.py
Chapter\ 4/Ch4_PolicyGradients_.ipynb
Chapter\ 4/.ipynb_checkpoints
!Chapter\ 9/MAgent/build/render/README.txt
Sandbox
.idea
**/.DS_Store

# Data
data

# Model files
**.pth
6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

332 changes: 168 additions & 164 deletions Appendix/Appendix.ipynb

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions Chapter 1/Ch1_Introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"metadata": {},
"outputs": [],
"source": [
"mem = {0:0, 1:1}\n",
"mem = {0: 0, 1: 1}\n",
"\n",
"\n",
"def fib_mem(n):\n",
" if n not in mem:\n",
Expand Down Expand Up @@ -97,7 +98,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"4.4 s ± 844 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)\n"
"1.31 s ± 5.53 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)\n"
]
}
],
Expand All @@ -115,7 +116,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"319 ns ± 274 ns per loop (mean ± std. dev. of 7 runs, 1 loop each)\n"
"257 ns ± 226 ns per loop (mean ± std. dev. of 7 runs, 1 loop each)\n"
]
}
],
Expand Down Expand Up @@ -148,7 +149,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.14.6"
}
},
"nbformat": 4,
Expand Down
939 changes: 558 additions & 381 deletions Chapter 10/Ch10_book.ipynb

Large diffs are not rendered by default.

749 changes: 567 additions & 182 deletions Chapter 2/Ch2_book.ipynb

Large diffs are not rendered by default.

1,045 changes: 630 additions & 415 deletions Chapter 3/Ch3_book.ipynb

Large diffs are not rendered by default.

88 changes: 0 additions & 88 deletions Chapter 3/GridBoard.py

This file was deleted.

127 changes: 0 additions & 127 deletions Chapter 3/Gridworld.py

This file was deleted.

Loading