package fehu
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Reinforcement learning framework for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
raven-1.0.0.alpha2.tbz
sha256=93abc49d075a1754442ccf495645bc4fdc83e4c66391ec8aca8fa15d2b4f44d2
sha512=5eb958c51f30ae46abded4c96f48d1825f79c7ce03f975f9a6237cdfed0d62c0b4a0774296694def391573d849d1f869919c49008acffca95946b818ad325f6f
doc/fehu.visualize/Fehu_visualize/index.html
Module Fehu_visualizeSource
Visualization sinks, encoders, and rollout helpers.
Overlays for augmenting rendered frames with diagnostic annotations.
Video recording wrappers for environments and vectorized environments.
Push a single frame to the sink.
Push multiple frames sequentially.
Source
val record_rollout :
env:('obs, 'act, Fehu.Render.t) Fehu.Env.t ->
policy:('obs -> 'act * float option * float option) ->
steps:int ->
?overlay:Overlay.t ->
sink:Sink.t ->
unit ->
unitRecord a rollout from a single environment to the sink.
Source
val record_evaluation :
vec_env:('obs, 'act, Fehu.Render.t) Fehu.Vector_env.t ->
policy:('obs array -> 'act array * float array option * float array option) ->
n_episodes:int ->
?max_steps:int ->
layout:[ `Single_each | `NxM_grid of int * int ] ->
?overlay:Overlay.t ->
sink:Sink.t ->
unit ->
Fehu.Training.statsEvaluate a vectorized policy while recording frames.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>