Ejemplo n.º 1
0
 def __init__(self, epsilon, episodeCount=None, actionCount=None):
     """ set the probability epsilon, with which a random action is chosen. """
     DecayExplorer.__init__(self, epsilon, episodeCount, actionCount)
Ejemplo n.º 2
0
    def __init__(self, epsilon, episodeCount=None, actionCount=None):
        DecayExplorer.__init__(self, epsilon, episodeCount, actionCount)

        # active is now property, this is the helper variable
        self.active_ = True   
        self.oldTable = None