コード例 #1
0
ファイル: egreedy.py プロジェクト: rueckstiess/dopamine
 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)
コード例 #2
0
ファイル: dsde.py プロジェクト: rueckstiess/dopamine
    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