tianshou.exploration¶
-
class
tianshou.exploration.
OUNoise
(sigma=0.3, theta=0.15, dt=0.01, x0=None)[source]¶ Bases:
object
Class for Ornstein-Uhlenbeck process, as used for exploration in DDPG. Usage:
# init self.noise = OUNoise() # generate noise noise = self.noise(logits.shape, eps)
For required parameters, you can refer to the stackoverflow page. However, our experiment result shows that (similar to OpenAI SpinningUp) using vanilla gaussian process has little difference from using the Ornstein-Uhlenbeck process.