-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
032e3bd
commit 3130cca
Showing
9 changed files
with
2,176 additions
and
23 deletions.
There are no files selected for viewing
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[tool.poetry] | ||
name = "special-syllabus" | ||
version = "0.1.0" | ||
description = "Leo and Hallvard's Special Syllabus about RL and transformers" | ||
authors = ["Your Name <you@example.com>"] | ||
license = "n" | ||
readme = "README.md" | ||
packages = [{include = "reinforcement_learning", from = "src"}] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.10" | ||
jupyter = "^1.0.0" | ||
|
||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# to make python treat this as package | ||
"Reinforcement learning package by Hallvard and Leo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
"""Defines base and policy gradient agents for reinforcement learning applications.""" | ||
|
||
|
||
from base_agent import Agent | ||
from policy_gradient_agent import PolicyGradientAgent | ||
from tabular_q_agent import TabularQAgent | ||
from .base_agent import Agent | ||
from .policy_gradient_agent import PolicyGradientAgent | ||
from .tabular_q_agent import TabularQAgent | ||
|
||
__all__ = ['Agent', 'PolicyGradientAgent', 'TabularQAgent'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/reinforcement_learning/applications/tabular_q_frozen_lake.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
import os | ||
print(os.getcwd()) | ||
from reinforcement_learning.agents import TabularQAgent |