causally.scm.noise.Exponential
- class causally.scm.noise.Exponential(scale: float | array = 1.0)
Wrapper for
numpy.random.exponential()sampler.- Parameters:
scale (Union[float, np.array of floats], default 1) – The scale parameter \(\beta = \frac{1}{\lambda}\), must be non-negative.
Methods
sample(size)Draw random samples from an exponential distribution.