package fehu

  1. Overview
  2. Docs
Reinforcement learning framework for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

raven-1.0.0.alpha1.tbz
sha256=8e277ed56615d388bc69c4333e43d1acd112b5f2d5d352e2453aef223ff59867
sha512=369eda6df6b84b08f92c8957954d107058fb8d3d8374082e074b56f3a139351b3ae6e3a99f2d4a4a2930dd950fd609593467e502368a13ad6217b571382da28c

doc/fehu/Fehu/Space/Multi_discrete/index.html

Module Space.Multi_discreteSource

Sourcetype element = (int32, Rune.int32_elt) Rune.t

Multiple discrete choices, each with different cardinality.

Sourceval create : int array -> element t

create nvec creates a multi-discrete space.

Valid values are tensors where element i is in [0, nvec.(i)). Each dimension represents an independent discrete choice with its own number of options.

Common use: Environments with multiple independent discrete actions (e.g., character_move, weapon_select, jump_or_not).