a4718ecf1b2a656eac2c7cf952f42ad89e410622,PyPi/policy/policy.py,EpsGreedy,__call__,#EpsGreedy#Any#Any#,29
Before Change
self.action_space.values)
return max_action.ravel()
return np.array([np.random.choice(self.action_space.n)])
def set_epsilon(self, epsilon):
After Change
self.action_space.values)
return max_action.ravel()
return self.action_space.sample()
def set_epsilon(self, epsilon):
Setter.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: AIRLab-POLIMI/mushroom
Commit Name: a4718ecf1b2a656eac2c7cf952f42ad89e410622
Time: 2017-07-22
Author: carlo.deramo@gmail.com
File Name: PyPi/policy/policy.py
Class Name: EpsGreedy
Method Name: __call__
Project Name: UFAL-DSG/tgen
Commit Name: a3c24e5e3222592a0c4e002ac47e3b7e048327d1
Time: 2014-03-26
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/tgen_random.py
Class Name: RandomTTreeGenerator
Method Name: __generate_child
Project Name: pyprob/pyprob
Commit Name: 1c758ba9d6c14d9b9d3599e44c3508e2692d8d35
Time: 2018-09-28
Author: atilimgunes.baydin@gmail.com
File Name: pyprob/distributions/empirical.py
Class Name: Empirical
Method Name: sample