def __init__(self, sigma=-2.): """ set the variance sigma for the gaussian distribution. """ Explorer.__init__(self) self.sigma = sigma
def setExperiment(self, experiment): Explorer.setExperiment(self, experiment)
def setExperiment(self, experiment): Explorer.setExperiment(self, experiment) # parameters for the linear exploration function self.theta = random.normal(0, self.expln(self.sigma), \ (self.experiment.conditions['stateDim'], self.experiment.conditions['actionDim']))