Esempio n. 1
0
 def realize(self, action):
     return [pendulum() < self.theta.dot(self.xt[arm]) for arm in action]
Esempio n. 2
0
 def realize(self, action):
     return [pendulum() < self.theta.dot(self.xt[arm]) + self.b + np.random.normal(0, self.eps) for arm in action]
 def realize(self, action):
     return [
         pendulum() < self.theta.dot(self.xt[arm]) + self.b +
         np.random.normal(0, self.eps) for arm in action
     ]