|
QDpy
|
Measurements from a completed evaluation episode. More...
Public Member Functions | |
| steps (self) | |
| return_ (self) | |
Measurements from a completed evaluation episode.
One episode with its initial observation and the actual final observation. Observations have shape ``(steps + 1, *observation_shape)``. Actions and rewards have one entry per environment step. The two info mappings are independent copies of the reset and last step info. Use values that support ``copy.deepcopy`` in these mappings. A budget-cut episode is never reported as a completed evaluation.
Definition at line 20 of file rollout.py.
| qdpy.rl.rollout.Episode.return_ | ( | self | ) |
Return the undiscounted sum of rewards.
Definition at line 44 of file rollout.py.
| qdpy.rl.rollout.Episode.steps | ( | self | ) |
Return the number of environment steps in the episode.
Definition at line 39 of file rollout.py.