rtbgym.utils.NormalDistribution#
- class rtbgym.utils.NormalDistribution(mean, std, random_state=None)[source]#
Class to sample from normal distribution.
- Parameters:
- Attributes:
- random_state
Methods
sample([size])Sample random variables from the pre-determined normal distribution.
- sample(size=1)[source]#
Sample random variables from the pre-determined normal distribution.
- Parameters:
size (int, default=1 (> 0)) – Total number of the random variable to sample.
- Returns:
random_variables – Random variables sampled from the normal distribution.
- Return type:
ndarray of shape (size, )
Methods