Coder Social home page Coder Social logo

emei's Introduction

Code style: black

Emei

Emei is an open source Python library for developing of causal model-based reinforcement learning algorithms by providing a standard API to communicate between learning algorithms and environments, as well as a standard set of environments compliant with that API. Emei is a re-encapsulation of Openai Gym(will be replaced by Gymnasium soon).

To better support the model-based and the causal characteristics, Emei has the following features:

  • providing a causal diagram corresponding to the environment
  • friendly model-based RL interface
    • the reward and terminal functions that can be obtained directly
    • freeze and unfreeze is supported
  • coming with offline dataset
  • adjustment of frequency ratio is supported
    • for Mujoco, forward-euler method is added

install

install by cloning from github

# clone the repository
git clone https://github.com/FrankTianTT/emei.git
cd emei
# create conda env
conda create -n emei python=3.8
conda activate emei
# install emei and its dependent packages
pip install -e .

If there is no cuda in your device, it's convenient to install cuda and pytorch from conda directly (refer to pytorch):

# for example, in the case of cuda=11.3
conda install pytorch cudatoolkit=11.3 -c pytorch

install using pip

coming soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.