noise#
Source code: tianshou/highlevel/params/noise.py
- class NoiseFactory[source]#
Bases:
ToStringMixin,ABC- abstract create_noise(envs: Environments) BaseNoise[source]#
- class NoiseFactoryMaxActionScaledGaussian(std_fraction: float)[source]#
Bases:
NoiseFactoryFactory for Gaussian noise where the standard deviation is a fraction of the maximum action value.
This factory can only be applied to continuous action spaces.
- Parameters:
std_fraction – fraction (between 0 and 1) of the maximum action value that shall be used as the standard deviation
- create_noise(envs: Environments) GaussianNoise[source]#
- class MaxActionScaledGaussian(std_fraction: float)[source]#
Bases:
NoiseFactoryMaxActionScaledGaussianFactory for Gaussian noise where the standard deviation is a fraction of the maximum action value.
This factory can only be applied to continuous action spaces.
- Parameters:
std_fraction – fraction (between 0 and 1) of the maximum action value that shall be used as the standard deviation