├── .github └── workflows │ ├── build-docs.yml │ ├── test-and-publish.yml │ └── test.yml ├── .gitignore ├── .pre-commit-config.yaml ├── LICENSE ├── README.md ├── docs ├── .nojekyll ├── Makefile ├── _static │ ├── custom.css │ ├── rl8-examples-solving-cartpole.png │ └── rl8-logo.png ├── cli.rst ├── conf.py ├── index.html ├── index.rst ├── make.bat └── requirements.txt ├── examples ├── README.rst ├── algotrading │ ├── README.rst │ ├── __main__.py │ ├── env.py │ └── models │ │ ├── __init__.py │ │ ├── lstm.py │ │ ├── mlp.py │ │ └── transformer.py ├── cartpole │ ├── README.rst │ ├── __main__.py │ └── env.py ├── mountain_car │ ├── README.rst │ ├── __main__.py │ └── env.py └── pendulum │ ├── README.rst │ ├── __main__.py │ └── env.py ├── pyproject.toml ├── src └── rl8 │ ├── __init__.py │ ├── __main__.py │ ├── _utils.py │ ├── algorithms │ ├── __init__.py │ ├── _base.py │ ├── _feedforward.py │ └── _recurrent.py │ ├── conditions.py │ ├── data.py │ ├── distributions.py │ ├── env.py │ ├── models │ ├── __init__.py │ ├── _base.py │ ├── _feedforward.py │ └── _recurrent.py │ ├── nn │ ├── __init__.py │ ├── functional.py │ └── modules │ │ ├── __init__.py │ │ ├── activations.py │ │ ├── attention.py │ │ ├── embeddings.py │ │ ├── mlp.py │ │ ├── module.py │ │ ├── perceiver.py │ │ └── skip.py │ ├── policies │ ├── __init__.py │ ├── _base.py │ ├── _feedforward.py │ └── _recurrent.py │ ├── schedulers.py │ ├── trainers │ ├── __init__.py │ ├── _base.py │ ├── _feedforward.py │ ├── _recurrent.py │ └── config.py │ └── views.py └── tests ├── __init__.py ├── test_algorithms.py ├── test_conditions.py ├── test_nn ├── __init__.py └── test_functional.py ├── test_policies.py ├── test_schedulers.py ├── test_trainers.py └── test_views.py /.github/workflows/build-docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/.github/workflows/build-docs.yml -------------------------------------------------------------------------------- /.github/workflows/test-and-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/.github/workflows/test-and-publish.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/README.md -------------------------------------------------------------------------------- /docs/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/docs/_static/custom.css -------------------------------------------------------------------------------- /docs/_static/rl8-examples-solving-cartpole.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/docs/_static/rl8-examples-solving-cartpole.png -------------------------------------------------------------------------------- /docs/_static/rl8-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/docs/_static/rl8-logo.png -------------------------------------------------------------------------------- /docs/cli.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/docs/cli.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/docs/index.html -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /examples/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/README.rst -------------------------------------------------------------------------------- /examples/algotrading/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/algotrading/README.rst -------------------------------------------------------------------------------- /examples/algotrading/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/algotrading/__main__.py -------------------------------------------------------------------------------- /examples/algotrading/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/algotrading/env.py -------------------------------------------------------------------------------- /examples/algotrading/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/algotrading/models/__init__.py -------------------------------------------------------------------------------- /examples/algotrading/models/lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/algotrading/models/lstm.py -------------------------------------------------------------------------------- /examples/algotrading/models/mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/algotrading/models/mlp.py -------------------------------------------------------------------------------- /examples/algotrading/models/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/algotrading/models/transformer.py -------------------------------------------------------------------------------- /examples/cartpole/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/cartpole/README.rst -------------------------------------------------------------------------------- /examples/cartpole/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/cartpole/__main__.py -------------------------------------------------------------------------------- /examples/cartpole/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/cartpole/env.py -------------------------------------------------------------------------------- /examples/mountain_car/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/mountain_car/README.rst -------------------------------------------------------------------------------- /examples/mountain_car/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/mountain_car/__main__.py -------------------------------------------------------------------------------- /examples/mountain_car/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/mountain_car/env.py -------------------------------------------------------------------------------- /examples/pendulum/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/pendulum/README.rst -------------------------------------------------------------------------------- /examples/pendulum/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/pendulum/__main__.py -------------------------------------------------------------------------------- /examples/pendulum/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/examples/pendulum/env.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/rl8/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/__init__.py -------------------------------------------------------------------------------- /src/rl8/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/__main__.py -------------------------------------------------------------------------------- /src/rl8/_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/_utils.py -------------------------------------------------------------------------------- /src/rl8/algorithms/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/algorithms/__init__.py -------------------------------------------------------------------------------- /src/rl8/algorithms/_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/algorithms/_base.py -------------------------------------------------------------------------------- /src/rl8/algorithms/_feedforward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/algorithms/_feedforward.py -------------------------------------------------------------------------------- /src/rl8/algorithms/_recurrent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/algorithms/_recurrent.py -------------------------------------------------------------------------------- /src/rl8/conditions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/conditions.py -------------------------------------------------------------------------------- /src/rl8/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/data.py -------------------------------------------------------------------------------- /src/rl8/distributions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/distributions.py -------------------------------------------------------------------------------- /src/rl8/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/env.py -------------------------------------------------------------------------------- /src/rl8/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/models/__init__.py -------------------------------------------------------------------------------- /src/rl8/models/_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/models/_base.py -------------------------------------------------------------------------------- /src/rl8/models/_feedforward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/models/_feedforward.py -------------------------------------------------------------------------------- /src/rl8/models/_recurrent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/models/_recurrent.py -------------------------------------------------------------------------------- /src/rl8/nn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/nn/__init__.py -------------------------------------------------------------------------------- /src/rl8/nn/functional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/nn/functional.py -------------------------------------------------------------------------------- /src/rl8/nn/modules/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/nn/modules/__init__.py -------------------------------------------------------------------------------- /src/rl8/nn/modules/activations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/nn/modules/activations.py -------------------------------------------------------------------------------- /src/rl8/nn/modules/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/nn/modules/attention.py -------------------------------------------------------------------------------- /src/rl8/nn/modules/embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/nn/modules/embeddings.py -------------------------------------------------------------------------------- /src/rl8/nn/modules/mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/nn/modules/mlp.py -------------------------------------------------------------------------------- /src/rl8/nn/modules/module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/nn/modules/module.py -------------------------------------------------------------------------------- /src/rl8/nn/modules/perceiver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/nn/modules/perceiver.py -------------------------------------------------------------------------------- /src/rl8/nn/modules/skip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/nn/modules/skip.py -------------------------------------------------------------------------------- /src/rl8/policies/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/policies/__init__.py -------------------------------------------------------------------------------- /src/rl8/policies/_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/policies/_base.py -------------------------------------------------------------------------------- /src/rl8/policies/_feedforward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/policies/_feedforward.py -------------------------------------------------------------------------------- /src/rl8/policies/_recurrent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/policies/_recurrent.py -------------------------------------------------------------------------------- /src/rl8/schedulers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/schedulers.py -------------------------------------------------------------------------------- /src/rl8/trainers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/trainers/__init__.py -------------------------------------------------------------------------------- /src/rl8/trainers/_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/trainers/_base.py -------------------------------------------------------------------------------- /src/rl8/trainers/_feedforward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/trainers/_feedforward.py -------------------------------------------------------------------------------- /src/rl8/trainers/_recurrent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/trainers/_recurrent.py -------------------------------------------------------------------------------- /src/rl8/trainers/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/trainers/config.py -------------------------------------------------------------------------------- /src/rl8/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/src/rl8/views.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_algorithms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/tests/test_algorithms.py -------------------------------------------------------------------------------- /tests/test_conditions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/tests/test_conditions.py -------------------------------------------------------------------------------- /tests/test_nn/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_nn/test_functional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/tests/test_nn/test_functional.py -------------------------------------------------------------------------------- /tests/test_policies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/tests/test_policies.py -------------------------------------------------------------------------------- /tests/test_schedulers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/tests/test_schedulers.py -------------------------------------------------------------------------------- /tests/test_trainers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/tests/test_trainers.py -------------------------------------------------------------------------------- /tests/test_views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theOGognf/rl8/HEAD/tests/test_views.py --------------------------------------------------------------------------------