Stopping Criteria

Stopping Criteria

mutable struct ConstantNumberEpisodes <: StoppingCriterion
    N::Int64
    counter::Int64

Stops learning when the agent has finished 'N' episodes.

source
    ConstantNumbeEpisodes(N) = ConstantNumberEpisodes(N, 0)
source
mutable struct ConstantNumberSteps <: StoppingCriterion
    T::Int64
    counter::Int64

Stops learning when the agent has taken 'T' actions.

source
ConstantNumberSteps(T) = ConstantNumberSteps(T, 0)
source