scml.std.rl.common

Attributes

RLAction

We assume that RL actions are numpy arrays

RLModel

A policy is a callable that receives a state and returns an action

RLState

We assume that RL states are numpy arrays

Functions

model_wrapper(→ RLModel)

Wraps a stable_baselines3 model as an RL model

Module Contents

scml.std.rl.common.RLAction[source]

We assume that RL actions are numpy arrays

scml.std.rl.common.RLModel[source]

A policy is a callable that receives a state and returns an action

scml.std.rl.common.RLState[source]

We assume that RL states are numpy arrays

scml.std.rl.common.model_wrapper(model, deterministic: bool = False) RLModel[source]

Wraps a stable_baselines3 model as an RL model