Plot the accumulated reward for each episode. :param reward_list: The list of recent rewards to be plotted. :param reward_window: The length of the window to compute a moving average over. :param tag: A unique tag to associate the data with. :param step: The
(
self,
reward_list: list,
reward_window: int = None,
tag: str = "reward",
step: int = None,
)
| 40 | |
| 41 | @abstractmethod |
| 42 | def plot_reward( |
| 43 | self, |
| 44 | reward_list: list, |
| 45 | reward_window: int = None, |
| 46 | tag: str = "reward", |
| 47 | step: int = None, |
| 48 | ) -> None: |
| 49 | # language=rst |
| 50 | """ |
| 51 | Plot the accumulated reward for each episode. |
| 52 | |
| 53 | :param reward_list: The list of recent rewards to be plotted. |
| 54 | :param reward_window: The length of the window to compute a moving average over. |
| 55 | :param tag: A unique tag to associate the data with. |
| 56 | :param step: The step of the pipeline. |
| 57 | """ |
| 58 | |
| 59 | @abstractmethod |
| 60 | def plot_spikes( |
no outgoing calls