MCPcopy Create free account
hub / github.com/BindsNET/bindsnet / plot_reward

Method plot_reward

bindsnet/analysis/pipeline_analysis.py:42–57  ·  view source on GitHub ↗

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,
    )

Source from the content-addressed store, hash-verified

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(

Callers 2

test_plot_runsMethod · 0.45
plotsMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_plot_runsMethod · 0.36