SalvatoreCognetta / temprl

Reinforcement Learning framework for Temporal Goals

Home Page:https://whitemech.github.io/temprl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

temprl

PyPI PyPI - Python Version PyPI - Status PyPI - Implementation PyPI - Wheel GitHub

test lint docs codecov

black

Framework for Reinforcement Learning with Temporal Goals defined by LTLf/LDLf formulas.

Status: development.

Install

Install the package:

  • from PyPI:

      pip3 install temprl
    
  • with pip from GitHub:

      pip3 install git+https://github.com/sapienza-rl/temprl.git
    
  • or, clone the repository and install:

      git clone htts://github.com/sapienza-rl/temprl.git
      cd temprl
      pip install .
    

Tests

To run tests: tox

To run only the code tests: tox -e py3.7

To run only the linters:

  • tox -e flake8
  • tox -e mypy
  • tox -e black-check
  • tox -e isort-check

Please look at the tox.ini file for the full list of supported commands.

Docs

To build the docs: mkdocs build

To view documentation in a browser: mkdocs serve and then go to http://localhost:8000

License

temprl is released under the GNU Lesser General Public License v3.0 or later (LGPLv3+).

Copyright 2018-2020 Marco Favorito

Authors

About

Reinforcement Learning framework for Temporal Goals

https://whitemech.github.io/temprl

License:GNU Lesser General Public License v3.0


Languages

Language:Python 90.1%Language:Makefile 9.9%