Skip to main content

Implements multi-armed bandits

Project description

Gym Bandits

A multi-armed bandits environment for OpenAI gym.

Installation instructions

Requirements: gym and numpy

pip install gym-bandits

Usage

import gym
import gym_bandits

env = gym.make('MultiArmedBandits-v0') # 10-armed bandit
env = gym.make('MultiArmedBandits-v0', nr_arms=15) # 15-armed bandit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gym_bandits-0.0.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gym_bandits-0.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file gym_bandits-0.0.1.tar.gz.

File metadata

  • Download URL: gym_bandits-0.0.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for gym_bandits-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0124c366f47476f6ce259acaf0b7a090391c46c87d158c8ece43581d43b4cd00
MD5 c4bc4b45ca0300c9f1bfecc0ad89ac22
BLAKE2b-256 c5bc75f36dea0c720a9f40e241c863ac5067aa2462bf24eec6e740e879cb1a43

See more details on using hashes here.

File details

Details for the file gym_bandits-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: gym_bandits-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for gym_bandits-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3164d46fee0c39c7c2f5a72a3b3e915a509f2e59a6b2f4fc814532d54c388b21
MD5 ebd3d2e9a80f9df24780abf3465b419d
BLAKE2b-256 e70e9212772740f18a1e057a392ecdd78f9034b36f3e608a145d3e16cdb7862e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page