Skip to main content

Deepair is a Deep Reinforcement Learning library

PyPI version Documentation Status

Deepair implementations of reinforcement learning algorithms. It focus on DRL algorithms and implementing the latest advancements in DRL. Highly customizable support for training processes. Suitable for the research and application of the latest technologies in reinforcement learning.

Features

Documentation

Documentation is available: https://deepair.readthedocs.io/

Installation

pip install deepair

or

pip install git+https://github.com/sonnhfit/deepair.git

Example

import gym
from deepair.dqn import Rainbow

env = gym.make('LunarLander-v2')

rain = Rainbow(env=env, memory_size=10000, batch_size=32, target_update=256)

rain.train(timesteps=200000)

# test
state = env.reset()
done = False
score = 0

while not done:
    action = rain.select_action(state, deterministic=True)
    next_state, reward, done = env.step(action)

    state = next_state
    score += reward

print("score: ", score)

rainbow lunalander env

Implemented Algorithms

Tutorial

How To Contribute

Metadata

Release files for deepair 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deepair 0.2.0
File Size Uploaded Provenance
deepair-0.2.0.tar.gz 11.5 kB Without provenance Details

Release files / deepair-0.2.0.tar.gz

Download URL deepair-0.2.0.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b877a7e25558c4fa1974e17c5ba0c746a9fcaa64d2dc37112960369314cc9d1b
BLAKE2b-256 checksum
How to use checksums
dde736312b439d158283c9fe5b47f4beab364ee6f628bd563bd9720ae343f6dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Security for deepair 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page