BSD Ports

math/py-gym 0.26.2_4 FreeBSD

OpenAI toolkit for developing and comparing your reinforcement learning agents

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
math, python
Package size
930.6 KiB, 3709.0 KiB installed

Description

OpenAI Gym is a toolkit for developing and comparing reinforcement learning algorithms. This is the gym open-source library, which gives you access to a standardized set of environments.

gym makes no assumptions about the structure of your agent, and is compatible with any numerical computation library, such as TensorFlow or Theano. You can use it from Python code, and soon from other languages.

There are two basic concepts in reinforcement learning: the environment (namely, the outside world) and the agent (namely, the algorithm you are writing). The agent sends actions to the environment, and the environment replies with observations and rewards (that is, a score).

The core gym interface is Env, which is the unified environment interface. There is no interface for agents; that part is left to you. The following are the Env methods you should know:

  • reset(self): Reset the environment's state. Returns observation.
  • step(self, action): Step the environment by one timestep. Returns observation, reward, done, info.
  • render(self, mode='human'): Render one frame of the environment. The default mode will do something human friendly, such as pop up a window.

In the other systems

SystemPortVersion
FreeBSDmath/py-gym0.26.2_4
DragonFlymath/py-gym0.26.2_2

Install

Binary package:

pkg install py312-gym

From the ports tree:

cd /usr/ports/math/py-gym/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-gym>0:math/py-gym

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.26.2_40.26.2_4-0.26.2_20.26.2_4
FreeBSD:14:quarterly0.26.2_40.26.2_4n/a0.26.2_20.26.2_4
FreeBSD:15:latest0.26.2_40.26.2_4n/a0.26.2_20.26.2_2
FreeBSD:15:quarterly0.26.2_40.26.2_4n/an/an/a
FreeBSD:16:latest0.26.2_40.26.2_4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 3

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 18
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
gym-0.26.2.tar.gz721689e0d882f4b54f0c65f203104c24ab8a38b039f1289986803c7d02cdbe214fbcc4
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.