Skip to content

Commit

Permalink
update lecture slides and remove ABC baseclass
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasSchaefer committed Feb 4, 2021
1 parent 2f8ed46 commit 3dc669a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Binary file modified Building_a_Complete_RL_System_lecture_slides.pdf
Binary file not shown.
5 changes: 2 additions & 3 deletions rl_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -298,15 +298,14 @@
"metadata": {},
"outputs": [],
"source": [
"from abc import ABC\n",
"from collections import defaultdict\n",
"import random\n",
"from typing import DefaultDict\n",
"\n",
"import numpy as np\n",
"\n",
"\n",
"class SARSA(ABC):\n",
"class SARSA():\n",
" \"\"\"Base class for SARSA agent\n",
"\n",
" :attr n_acts (int): number of actions\n",
Expand Down Expand Up @@ -1087,7 +1086,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
"version": "3.7.8"
}
},
"nbformat": 4,
Expand Down
3 changes: 1 addition & 2 deletions sarsa.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from abc import ABC
from collections import defaultdict
import numpy as np
import random
from typing import DefaultDict


class SARSA(ABC):
class SARSA():
"""Base class for SARSA agent
:attr n_acts (int): number of actions
Expand Down

0 comments on commit 3dc669a

Please sign in to comment.