Esempio n. 1
0
 def __init__(self, actions, epsilon=.1, eps_decay=1., lrn_rate=.1, dsc_rate=.5, min_likelihood=1.):
     HeatMappedHierarchy.__init__(self, lrn_rate, dsc_rate, min_likelihood)
     self.actions = actions
     self.epsilon = epsilon
     self.eps_decay = eps_decay
     self.iteration = 0
     self.episode = 0
     self.log_data = ["iteration\tepisode\treward\n"]
     self.parent = self._new_layer()
Esempio n. 2
0
 def __str__(self):
     return HeatMappedHierarchy.__str__(self)