|View source on GitHub|
Implementation of various python metrics.
class AverageEpisodeLengthMetric: Computes the average episode length.
class AverageReturnMetric: Computes the average undiscounted reward.
class CounterMetric: Metric to track an arbitrary counter.
class EnvironmentSteps: Counts the number of steps taken in the environment.
class NumberOfEpisodes: Counts the number of episodes in the environment.
class NumpyDeque: Deque implementation using a numpy array as a circular buffer.
class StreamingMetric: Abstract base class for streaming metrics.